Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
clarify -M without % symbol in diff-options
author
Sitaram Chamarty
<sitaramc@gmail.com>
Tue, 18 Dec 2012 10:47:09 +0000
(16:17 +0530)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 18 Dec 2012 16:46:15 +0000
(08:46 -0800)
Signed-off-by: Sitaram Chamarty <sitaramc@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/diff-options.txt
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
bdd478d
)
diff --git
a/Documentation/diff-options.txt
b/Documentation/diff-options.txt
index cf4b21659890ba4babb8bcc07a7c0e84a03b6adb..1fb6f2d4e92ee2f6429af20515f25a551e0f869c 100644
(file)
--- a/
Documentation/diff-options.txt
+++ b/
Documentation/diff-options.txt
@@
-308,7
+308,11
@@
endif::git-log[]
index (i.e. amount of addition/deletions compared to the
file's size). For example, `-M90%` means git should consider a
delete/add pair to be a rename if more than 90% of the file
index (i.e. amount of addition/deletions compared to the
file's size). For example, `-M90%` means git should consider a
delete/add pair to be a rename if more than 90% of the file
- hasn't changed.
+ hasn't changed. Without a `%` sign, the number is to be read as
+ a fraction, with a decimal point before it. I.e., `-M5` becomes
+ 0.5, and is thus the same as `-M50%`. Similarly, `-M05` is
+ the same as `-M5%`. To limit detection to exact renames, use
+ `-M100%`.
-C[<n>]::
--find-copies[=<n>]::
-C[<n>]::
--find-copies[=<n>]::