author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | |
Sun, 7 Nov 2010 18:04:58 +0000 (01:04 +0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 8 Nov 2010 19:39:23 +0000 (11:39 -0800) | ||
commit | ae3cdfe1123d153f720bbe4a4abc97ed3e9f65a4 | |
tree | ac35f1cd0a104ae090050a57fb5d1b560db3974b | tree | snapshot |
parent | af77aee9cac51c2036e6019b4aebec2049f03e6b | commit | diff |
dir.c: fix EXC_FLAG_MUSTBEDIR match in sparse checkout
Commit c84de70 (excluded_1(): support exclude files in index -
2009-08-20) tries to work around the fact that there is no
directory/file information in index entries, therefore
EXC_FLAG_MUSTBEDIR match would fail.
Unfortunately the workaround is flawed. This fixes it.
Reported-by: Thomas Rinderknecht <thomasr@sailguy.org>
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commit c84de70 (excluded_1(): support exclude files in index -
2009-08-20) tries to work around the fact that there is no
directory/file information in index entries, therefore
EXC_FLAG_MUSTBEDIR match would fail.
Unfortunately the workaround is flawed. This fixes it.
Reported-by: Thomas Rinderknecht <thomasr@sailguy.org>
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
dir.c | diff | blob | history | |
t/t1011-read-tree-sparse-checkout.sh | diff | blob | history |