X-Git-Url: http://git.tremily.us/?a=blobdiff_plain;f=diff.c;h=348f71b46256657860a2f7f79598e1d9b19d6c54;hb=35484d4acd69ac9e482c1c0ee4c5014744dfc63f;hp=732d4c227595873bb94224da618ce5612a7415af;hpb=d912b0e44f82dc430a4aac8566a8217b60629638;p=git.git diff --git a/diff.c b/diff.c index 732d4c227..348f71b46 100644 --- a/diff.c +++ b/diff.c @@ -3626,6 +3626,8 @@ int diff_opt_parse(struct diff_options *options, const char **av, int ac) DIFF_OPT_SET(options, FIND_COPIES_HARDER); else if (!strcmp(arg, "--follow")) DIFF_OPT_SET(options, FOLLOW_RENAMES); + else if (!strcmp(arg, "--no-follow")) + DIFF_OPT_CLR(options, FOLLOW_RENAMES); else if (!strcmp(arg, "--color")) options->use_color = 1; else if (!prefixcmp(arg, "--color=")) {