diff options
author | Kevin Ballard <kevin@sb.org> | 2010-11-29 14:52:59 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-11-29 16:58:27 -0800 |
commit | 150a5daad0095d06d38eadefdde4703fa3cca3e5 (patch) | |
tree | 5d4bd3caa8309a67cb7af1851b01eb3b7442d410 /diff.c | |
parent | 7d43de925b2771d295d8fc4341b7bd544e2a74fa (diff) | |
download | git-150a5daad0095d06d38eadefdde4703fa3cca3e5.tar.gz |
diff: add --detect-copies-harder as a synonym for --find-copies-harder
Signed-off-by: Kevin Ballard <kevin@sb.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diff.c')
-rw-r--r-- | diff.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3194,7 +3194,7 @@ int diff_opt_parse(struct diff_options *options, const char **av, int ac) 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); |