path_excluded(): update API to less cache-entry centric
commit782cd4c0f6e0fef5147cb738009dde6e778f4932
authorJunio C Hamano <gitster@pobox.com>
Wed, 6 Jun 2012 04:17:52 +0000 (5 21:17 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 6 Jun 2012 04:22:36 +0000 (5 21:22 -0700)
tree98a8b6e49990982df90775ae74d9596cd774822d
parent93921b07e985de38f7af6689d81e5c7dfb3f8aa0
path_excluded(): update API to less cache-entry centric

It was stupid of me to make the API too much cache-entry specific;
the caller may want to check arbitrary pathname without having a
corresponding cache-entry to see if a path is ignored.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/ls-files.c
dir.c
dir.h