diff options
Diffstat (limited to 'pathspec.h')
-rw-r--r-- | pathspec.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pathspec.h b/pathspec.h index 454ce364fa..2ccc8080b6 100644 --- a/pathspec.h +++ b/pathspec.h @@ -150,11 +150,11 @@ static inline int ps_strcmp(const struct pathspec_item *item, } void add_pathspec_matches_against_index(const struct pathspec *pathspec, - const struct index_state *istate, + struct index_state *istate, char *seen); char *find_pathspecs_matching_against_index(const struct pathspec *pathspec, - const struct index_state *istate); -int match_pathspec_attrs(const struct index_state *istate, + struct index_state *istate); +int match_pathspec_attrs(struct index_state *istate, const char *name, int namelen, const struct pathspec_item *item); |