dir: convert is_excluded to take an index
[gitweb.git] / dir.h
diff --git a/dir.h b/dir.h
index 1bcda0d2342db0b8b175ecaf85166e1ce78ee319..b745f1e5d757bdc9aaa386fa011bb37359fa86ff 100644 (file)
--- 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);