Code

Do not default to --no-index when given two directories.
authorJunio C Hamano <junkio@cox.net>
Fri, 13 Apr 2007 10:23:20 +0000 (03:23 -0700)
committerJunio C Hamano <junkio@cox.net>
Sat, 14 Apr 2007 02:34:35 +0000 (19:34 -0700)
commit1ad029b6a1e2fb0254667a2bea8d1ee180cc6ac7
treefa691b3722da005643fbb65c61258a1adb770c33
parentdc61b10d987d32522803044eccaa801ffbca4bfe
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>
diff-lib.c