Browse Source
maint470faf9
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>
Thomas Gummerer
11 years ago
committed by
Junio C Hamano
1 changed files with 11 additions and 0 deletions
Loading…
Reference in new issue