author | Junio C Hamano <junkio@cox.net> | |
Fri, 13 Apr 2007 10:23:20 +0000 (03:23 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sat, 14 Apr 2007 02:34:35 +0000 (19:34 -0700) | ||
commit | 1ad029b6a1e2fb0254667a2bea8d1ee180cc6ac7 | |
tree | fa691b3722da005643fbb65c61258a1adb770c33 | tree | snapshot |
parent | dc61b10d987d32522803044eccaa801ffbca4bfe | commit | diff |
Do not default to --no-index when given two directories.
git-diff -- a/ b/ always defaulted to --no-index, primarily
because the function is_in_index() was implemented quite
incorrectly.
Noticed by Patrick Maaß and Simon Schubert independently,
initial patch was provided by Patrick but I fixed it
differently.
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-diff -- a/ b/ always defaulted to --no-index, primarily
because the function is_in_index() was implemented quite
incorrectly.
Noticed by Patrick Maaß and Simon Schubert independently,
initial patch was provided by Patrick but I fixed it
differently.
Signed-off-by: Junio C Hamano <junkio@cox.net>
diff-lib.c | diff | blob | history |