summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-10-17 17:26:51 (GMT)
committerJunio C Hamano <gitster@pobox.com>2012-10-17 17:26:51 (GMT)
commit8c4bcd34bd194d7932a153f464cbc6ada7b27b46 (patch)
tree17331f7107c0353a5adac2451fc6e817ce16e902 /Documentation
parent19100d3f7db17a85dc58265ae5388b1bf483f44f (diff)
parente0e2065f74500119d5e12524992273de362acd30 (diff)
downloadgit-8c4bcd34bd194d7932a153f464cbc6ada7b27b46.zip
git-8c4bcd34bd194d7932a153f464cbc6ada7b27b46.tar.gz
git-8c4bcd34bd194d7932a153f464cbc6ada7b27b46.tar.bz2
Merge branch 'jc/ll-merge-binary-ours' into maint
* jc/ll-merge-binary-ours: ll-merge: warn about inability to merge binary files only when we can't attr: "binary" attribute should choose built-in "binary" merge driver merge: teach -Xours/-Xtheirs to binary ll-merge driver
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/gitattributes.txt2
-rw-r--r--Documentation/merge-strategies.txt3
2 files changed, 3 insertions, 2 deletions
diff --git a/Documentation/gitattributes.txt b/Documentation/gitattributes.txt
index aff760e..52ab93d 100644
--- a/Documentation/gitattributes.txt
+++ b/Documentation/gitattributes.txt
@@ -932,7 +932,7 @@ file at the toplevel (i.e. not in any subdirectory). The built-in
macro attribute "binary" is equivalent to:
------------
-[attr]binary -diff -text
+[attr]binary -diff -merge -text
------------
diff --git a/Documentation/merge-strategies.txt b/Documentation/merge-strategies.txt
index 595a3cf..66db802 100644
--- a/Documentation/merge-strategies.txt
+++ b/Documentation/merge-strategies.txt
@@ -32,13 +32,14 @@ ours;;
This option forces conflicting hunks to be auto-resolved cleanly by
favoring 'our' version. Changes from the other tree that do not
conflict with our side are reflected to the merge result.
+ For a binary file, the entire contents are taken from our side.
+
This should not be confused with the 'ours' merge strategy, which does not
even look at what the other tree contains at all. It discards everything
the other tree did, declaring 'our' history contains all that happened in it.
theirs;;
- This is opposite of 'ours'.
+ This is the opposite of 'ours'.
patience;;
With this option, 'merge-recursive' spends a little extra time