summaryrefslogtreecommitdiff
path: root/attr.h
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2017-03-17 13:50:26 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-03-17 13:50:26 -0700
commitf6c64c648ade843b44d517b2de41b8b882f112c0 (patch)
treee1ca564c6a9d4ceff87c40944bbb14211207c767 /attr.h
parentMerge branch 'jk/ref-filter-flags-cleanup' (diff)
parentpathspec: allow escaped query values (diff)
downloadtgif-f6c64c648ade843b44d517b2de41b8b882f112c0.tar.xz
Merge branch 'bw/attr-pathspec'
The pathspec mechanism learned to further limit the paths that match the pattern to those that have specified attributes attached via the gitattributes mechanism. * bw/attr-pathspec: pathspec: allow escaped query values pathspec: allow querying for attributes
Diffstat (limited to 'attr.h')
-rw-r--r--attr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/attr.h b/attr.h
index 48ab3e1c2f..442d464db6 100644
--- a/attr.h
+++ b/attr.h
@@ -44,6 +44,7 @@ struct attr_check {
extern struct attr_check *attr_check_alloc(void);
extern struct attr_check *attr_check_initl(const char *, ...);
+extern struct attr_check *attr_check_dup(const struct attr_check *check);
extern struct attr_check_item *attr_check_append(struct attr_check *check,
const struct git_attr *attr);