diff options
author | Brandon Williams <bmwill@google.com> | 2017-05-05 12:53:30 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-05-06 19:15:39 +0900 |
commit | a0bba65b107651946431bee4c71d05d812988d9d (patch) | |
tree | 2fdf86ac431244039da96a9d46127b073ff8d6f6 /dir.h | |
parent | e799ed408eb59ca631c4908ba4236cd146ff6bd2 (diff) | |
download | git-a0bba65b107651946431bee4c71d05d812988d9d.tar.gz |
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>
Diffstat (limited to 'dir.h')
-rw-r--r-- | dir.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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); |