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>
This commit is contained in:
committed by
Junio C Hamano
parent
7d43de925b
commit
150a5daad0
2
diff.c
2
diff.c
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user