From a0bba65b107651946431bee4c71d05d812988d9d Mon Sep 17 00:00:00 2001 From: Brandon Williams Date: Fri, 5 May 2017 12:53:30 -0700 Subject: dir: convert is_excluded to take an index Signed-off-by: Brandon Williams Signed-off-by: Junio C Hamano --- dir.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'dir.h') diff --git a/dir.h b/dir.h index 1bcda0d234..b745f1e5d7 100644 --- a/dir.h +++ b/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); -- cgit v1.2.3