diff-index.c: do not pretend paths are pathspecs
authorJunio C Hamano <gitster@pobox.com>
Wed, 27 Jun 2012 18:51:15 +0000 (11:51 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 28 Jun 2012 23:09:40 +0000 (16:09 -0700)
commitc20f592611c2760a14d37fa1780afd2093159aeb
tree674a94b87f7c62b7f22c573b578fc9feca932d48
parentf174a2583c9f42315b60205890fa67a79a1f1669
diff-index.c: do not pretend paths are pathspecs

"git diff --no-index" takes exactly two paths, not pathspecs, and
has its own way queue_diff() to populate the diff_queue.  Do not
call diff_tree_setup_paths(), pretending as it takes pathspecs.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
diff-no-index.c