Skip to content
Snippets Groups Projects
Commit ae3cdfe1 authored by Nguyễn Thái Ngọc Duy's avatar Nguyễn Thái Ngọc Duy Committed by Junio C Hamano
Browse files

dir.c: fix EXC_FLAG_MUSTBEDIR match in sparse checkout


Commit c84de707 (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: default avatarThomas Rinderknecht <thomasr@sailguy.org>
Signed-off-by: default avatarNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
parent af77aee9
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment