dir: convert is_excluded to take an index
Signed-off-by: Brandon Williams <bmwill@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
e799ed408e
commit
a0bba65b10
@ -322,7 +322,7 @@ static void show_ru_info(void)
|
||||
static int ce_excluded(struct dir_struct *dir, const struct cache_entry *ce)
|
||||
{
|
||||
int dtype = ce_to_dtype(ce);
|
||||
return is_excluded(dir, ce->name, &dtype);
|
||||
return is_excluded(dir, &the_index, ce->name, &dtype);
|
||||
}
|
||||
|
||||
static void show_files(struct dir_struct *dir)
|
||||
|
Reference in New Issue
Block a user