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)
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>
No differences found