clean up pathspec matching
authorClemens Buchacher <drizzd@aon.at>
Wed, 14 Jan 2009 14:54:34 +0000 (15:54 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 15 Jan 2009 03:18:37 +0000 (19:18 -0800)
commit1c7c1d179e51f163c014353f33b406f5bae13922
treedd9f3a5fe4b313d5ec92e580cec7b8953f3ffbde
parent8dca683346fcd17684eb6646c486461cae38241e
clean up pathspec matching

If pathspec already matched exactly, it cannot match any more.
Originally, we had to continue anyways, because we did not
differentiate between exact, recursive and globbing matches.

Signed-off-by: Clemens Buchacher <drizzd@aon.at>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
dir.c