aboutsummaryrefslogtreecommitdiffstats
path: root/diff.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2007-06-24 02:08:31 -0700
committerJunio C Hamano <gitster@pobox.com>2007-06-24 02:08:31 -0700
commit1066c2c5482b8b5fb968c3a4acaa32a48bad2534 (patch)
tree0d1b6796d43c6d389ad48deaf563bf7e8878f60e /diff.c
parentfc746df6476078fa04f821aea00f84bbe13dbf9f (diff)
parent9f38e1ef7e7992ca490b9b419f52fb4d11efb0e4 (diff)
downloadgit-1066c2c5482b8b5fb968c3a4acaa32a48bad2534.tar.gz
Merge branch 'lt/follow'
* lt/follow: Fix up "git log --follow" a bit.. Finally implement "git log --follow"
Diffstat (limited to 'diff.c')
-rw-r--r--diff.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/diff.c b/diff.c
index 4aa9bbc011..9938969fa5 100644
--- a/diff.c
+++ b/diff.c
@@ -2210,6 +2210,8 @@ int diff_opt_parse(struct diff_options *options, const char **av, int ac)
}
else if (!strcmp(arg, "--find-copies-harder"))
options->find_copies_harder = 1;
+ else if (!strcmp(arg, "--follow"))
+ options->follow_renames = 1;
else if (!strcmp(arg, "--abbrev"))
options->abbrev = DEFAULT_ABBREV;
else if (!prefixcmp(arg, "--abbrev=")) {