mirror of
https://github.com/git/git.git
synced 2025-12-12 20:36:24 +01:00
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
5
dir.h
5
dir.h
@@ -236,9 +236,12 @@ extern int match_pathname(const char *, int,
|
||||
const char *, int, int, unsigned);
|
||||
|
||||
extern struct exclude *last_exclude_matching(struct dir_struct *dir,
|
||||
struct index_state *istate,
|
||||
const char *name, int *dtype);
|
||||
|
||||
extern int is_excluded(struct dir_struct *dir, const char *name, int *dtype);
|
||||
extern int is_excluded(struct dir_struct *dir,
|
||||
struct index_state *istate,
|
||||
const char *name, int *dtype);
|
||||
|
||||
extern struct exclude_list *add_exclude_list(struct dir_struct *dir,
|
||||
int group_type, const char *src);
|
||||
|
||||
Reference in New Issue
Block a user