summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-11-04 00:32:41 +0100
committerJunio C Hamano <gitster@pobox.com>2015-11-04 00:32:41 +0100
commit5c15ca0b3c866398f22cbab974d0a1964ef105ca (patch)
treef7c7b00472862c2665c05bf522836b6401dc4e8e /Documentation
parentMerge branch 'dt/name-hash-dir-entry-fix' into maint (diff)
parentmerge-file: clamp exit code to maximum 127 (diff)
downloadgit-5c15ca0b3c866398f22cbab974d0a1964ef105ca.tar.xz
git-5c15ca0b3c866398f22cbab974d0a1964ef105ca.zip
Merge branch 'jk/merge-file-exit-code' into maint
"git merge-file" tried to signal how many conflicts it found, which obviously would not work well when there are too many of them. * jk/merge-file-exit-code: merge-file: clamp exit code to maximum 127
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-merge-file.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/git-merge-file.txt b/Documentation/git-merge-file.txt
index d2fc12ec77..f856032613 100644
--- a/Documentation/git-merge-file.txt
+++ b/Documentation/git-merge-file.txt
@@ -41,7 +41,8 @@ lines from `<other-file>`, or lines from both respectively. The length of the
conflict markers can be given with the `--marker-size` option.
The exit value of this program is negative on error, and the number of
-conflicts otherwise. If the merge was clean, the exit value is 0.
+conflicts otherwise (truncated to 127 if there are more than that many
+conflicts). If the merge was clean, the exit value is 0.
'git merge-file' is designed to be a minimal clone of RCS 'merge'; that is, it
implements all of RCS 'merge''s functionality which is needed by