summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7d43de9)
raw | patch | inline | side by side (parent: 7d43de9)
author | Kevin Ballard <kevin@sb.org> | |
Mon, 29 Nov 2010 22:52:59 +0000 (14:52 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 30 Nov 2010 00:58:27 +0000 (16:58 -0800) |
Signed-off-by: Kevin Ballard <kevin@sb.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/diff-options.txt | patch | blob | history | |
diff.c | patch | blob | history |
index f3e95389aa5914cc05145625a5dd48bafbf086ba..7246e10d3eaae90943608f6df95b7dd2c6d45ebc 100644 (file)
If `n` is specified, it has the same meaning as for `-M<n>`.
--find-copies-harder::
+--detect-copies-harder::
For performance reasons, by default, `-C` option finds copies only
if the original file of the copy was modified in the same
changeset. This flag makes the command
index c248bc64c57b3206905dd8e6f72a702073a137cc..dee0bd8f4efc9927a8adfe249f97bdcfb1927715 100644 (file)
--- a/diff.c
+++ b/diff.c
DIFF_OPT_SET(options, TEXT);
else if (!strcmp(arg, "-R"))
DIFF_OPT_SET(options, REVERSE_DIFF);
- else if (!strcmp(arg, "--find-copies-harder"))
+ else if (!strcmp(arg, "--find-copies-harder") || !strcmp(arg, "--detect-copies-harder"))
DIFF_OPT_SET(options, FIND_COPIES_HARDER);
else if (!strcmp(arg, "--follow"))
DIFF_OPT_SET(options, FOLLOW_RENAMES);