diff options
author | Junio C Hamano <gitster@pobox.com> | 2016-02-03 14:16:04 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-02-03 14:16:04 -0800 |
commit | c167a96e68b9fb49cab7eb1f2814d7b32f7c0a1a (patch) | |
tree | 9cd4964f51f8c32133d5e5cce34bedd86e11ee4d /builtin/diff.c | |
parent | Merge branch 'lv/add-doc-working-tree' (diff) | |
parent | diff: make -O and --output work in subdirectory (diff) | |
download | tgif-c167a96e68b9fb49cab7eb1f2814d7b32f7c0a1a.tar.xz |
Merge branch 'nd/diff-with-path-params'
A few options of "git diff" did not work well when the command was
run from a subdirectory.
* nd/diff-with-path-params:
diff: make -O and --output work in subdirectory
diff-no-index: do not take a redundant prefix argument
Diffstat (limited to 'builtin/diff.c')
-rw-r--r-- | builtin/diff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/diff.c b/builtin/diff.c index ed0acca91f..52c98a9217 100644 --- a/builtin/diff.c +++ b/builtin/diff.c @@ -341,7 +341,7 @@ int cmd_diff(int argc, const char **argv, const char *prefix) } if (no_index) /* If this is a no-index diff, just run it and exit there. */ - diff_no_index(&rev, argc, argv, prefix); + diff_no_index(&rev, argc, argv); /* Otherwise, we are doing the usual "git" diff */ rev.diffopt.skip_stat_unmatch = !!diff_auto_refresh_index; |