diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2010-12-15 16:02:46 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-02-03 23:08:30 +0100 |
commit | d38f28093ef795bef13d2fda6621b4952afb42db (patch) | |
tree | ee06d38a5a645292a66afa665a517f184ff7a151 /cache.h | |
parent | tree_entry_interesting(): fix depth limit with overlapping pathspecs (diff) | |
download | git-d38f28093ef795bef13d2fda6621b4952afb42db.tar.xz git-d38f28093ef795bef13d2fda6621b4952afb42db.zip |
tree_entry_interesting(): support wildcard matching
never_interesting optimization is disabled if there is any wildcard
pathspec, even if it only matches exactly on trees.
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'cache.h')
-rw-r--r-- | cache.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -503,11 +503,13 @@ extern int ie_modified(const struct index_state *, struct cache_entry *, struct struct pathspec { const char **raw; /* get_pathspec() result, not freed by free_pathspec() */ int nr; + int has_wildcard:1; int recursive:1; int max_depth; struct pathspec_item { const char *match; int len; + int has_wildcard:1; } *items; }; |