aboutsummaryrefslogtreecommitdiff
path: root/Documentation/diff-options.txt
diff options
context:
space:
mode:
authorSitaram Chamarty <sitaramc@gmail.com>2012-12-18 16:17:09 +0530
committerJunio C Hamano <gitster@pobox.com>2012-12-18 08:46:15 -0800
commit31d66aa4084cb292b15cfdcd6ff73f22f45ab9af (patch)
tree05faeb9bd94e0d9330aacfe22f40033f0936c818 /Documentation/diff-options.txt
parentbdd478d620034dc6517aea940f5dc6b88f780c04 (diff)
downloadgit-31d66aa4084cb292b15cfdcd6ff73f22f45ab9af.tar.gz
git-31d66aa4084cb292b15cfdcd6ff73f22f45ab9af.tar.xz
clarify -M without % symbol in diff-options
Signed-off-by: Sitaram Chamarty <sitaramc@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/diff-options.txt')
-rw-r--r--Documentation/diff-options.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/Documentation/diff-options.txt b/Documentation/diff-options.txt
index cf4b21659..1fb6f2d4e 100644
--- 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
- 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>]::