diff options
| author | Junio C Hamano <gitster@pobox.com> | 2007-06-24 02:08:31 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2007-06-24 02:08:31 -0700 |
| commit | 1066c2c5482b8b5fb968c3a4acaa32a48bad2534 (patch) | |
| tree | 0d1b6796d43c6d389ad48deaf563bf7e8878f60e /diff.c | |
| parent | fc746df6476078fa04f821aea00f84bbe13dbf9f (diff) | |
| parent | 9f38e1ef7e7992ca490b9b419f52fb4d11efb0e4 (diff) | |
| download | git-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.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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=")) { |
