diff options
author | Thomas Gummerer <t.gummerer@gmail.com> | 2013-12-16 21:19:23 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-12-16 13:12:33 -0800 |
commit | 8a19dfa1aa5bbbc6e3ea8553e418ad4f78448cb3 (patch) | |
tree | 6fc54694bf84bd40d46081c72f42672507e0677a /GIT-VERSION-GEN | |
parent | diff: don't read index when --no-index is given (diff) | |
download | tgif-8a19dfa1aa5bbbc6e3ea8553e418ad4f78448cb3.tar.xz |
diff: add test for --no-index executed outside repo
470faf9 diff: move no-index detection to builtin/diff.c breaks the error
message for "git diff --no-index", when the command is executed outside
of a git repository and the wrong number of arguments are given. 6df5762
diff: don't read index when --no-index is given fixes the problem.
Add a test to guard against similar breakages in the future.
Signed-off-by: Thomas Gummerer <t.gummerer@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'GIT-VERSION-GEN')
0 files changed, 0 insertions, 0 deletions