summaryrefslogtreecommitdiff
path: root/dir.h
diff options
context:
space:
mode:
authorBrandon Williams <bmwill@google.com>2017-05-05 19:53:25 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-05-06 10:15:39 (GMT)
commit9e58becab9d2512bad0fdf150fedbea84d6b9b03 (patch)
tree55a7634aad58ab7a1f14869abcbce6e5c8f737be /dir.h
parent98f2a687b9a971fec86254537c37df00f18a6e80 (diff)
downloadgit-9e58becab9d2512bad0fdf150fedbea84d6b9b03.zip
git-9e58becab9d2512bad0fdf150fedbea84d6b9b03.tar.gz
git-9e58becab9d2512bad0fdf150fedbea84d6b9b03.tar.bz2
dir: convert dir_add* 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.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/dir.h b/dir.h
index bf23a47..a9f8099 100644
--- a/dir.h
+++ b/dir.h
@@ -219,7 +219,9 @@ extern int read_directory(struct dir_struct *, const char *path, int len, const
extern int is_excluded_from_list(const char *pathname, int pathlen, const char *basename,
int *dtype, struct exclude_list *el);
-struct dir_entry *dir_add_ignored(struct dir_struct *dir, const char *pathname, int len);
+struct dir_entry *dir_add_ignored(struct dir_struct *dir,
+ struct index_state *istate,
+ const char *pathname, int len);
/*
* these implement the matching logic for dir.c:excluded_from_list and