summaryrefslogtreecommitdiff
path: root/Documentation/git-merge-tree.txt
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2022-06-18 00:20:52 +0000
committerJunio C Hamano <gitster@pobox.com>2022-06-22 16:10:06 -0700
commit7fa3338870d66dd3946c5c3a0bd09dadb798893d (patch)
tree040f35db3176e5d9f94c60d2270619734af1dc26 /Documentation/git-merge-tree.txt
parenta4040cfa35d8781df3e994380d1b559be8b22bd2 (diff)
downloadgit-7fa3338870d66dd3946c5c3a0bd09dadb798893d.tar.gz
merge-tree: provide a list of which files have conflicts
Callers of `git merge-tree --write-tree` will often want to know which files had conflicts. While they could potentially attempt to parse the CONFLICT notices printed, those messages are not meant to be machine readable. Provide a simpler mechanism of just printing the files (in the same format as `git ls-files` with quoting, but restricted to unmerged files) in the output before the free-form messages. Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-merge-tree.txt')
-rw-r--r--Documentation/git-merge-tree.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/Documentation/git-merge-tree.txt b/Documentation/git-merge-tree.txt
index 25b462be14..68a51c8261 100644
--- a/Documentation/git-merge-tree.txt
+++ b/Documentation/git-merge-tree.txt
@@ -58,6 +58,7 @@ line:
Whereas for a conflicted merge, the output is by default of the form:
<OID of toplevel tree>
+ <Conflicted file list>
<Informational messages>
These are discussed individually below.
@@ -70,6 +71,14 @@ This is a tree object that represents what would be checked out in the
working tree at the end of `git merge`. If there were conflicts, then
files within this tree may have embedded conflict markers.
+[[CFI]]
+Conflicted file list
+~~~~~~~~~~~~~~~~~~~~
+
+This is a sequence of lines containing a filename on each line, quoted
+as explained for the configuration variable `core.quotePath` (see
+linkgit:git-config[1]).
+
[[IM]]
Informational messages
~~~~~~~~~~~~~~~~~~~~~~