summaryrefslogtreecommitdiff
path: root/attr.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-01-27 18:01:58 -0800
committerJunio C Hamano <gitster@pobox.com>2017-02-01 13:46:52 -0800
commit1295c2152457c2267d605d353332ae4b3e5e5d5c (patch)
tree21e5827579caa55470019c57c44ec95d1bf54bb3 /attr.h
parent2aef63d31c338a764099e925d35fe2a9c71348a8 (diff)
downloadgit-1295c2152457c2267d605d353332ae4b3e5e5d5c.tar.gz
attr: retire git_check_attrs() API
Since nobody uses the old API, make it file-scope static, and update the documentation to describe the new API. Signed-off-by: Junio C Hamano <gitster@pobox.com> Signed-off-by: Stefan Beller <sbeller@google.com> Signed-off-by: Brandon Williams <bmwill@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'attr.h')
-rw-r--r--attr.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/attr.h b/attr.h
index 9f2729842d..b2cfd85509 100644
--- a/attr.h
+++ b/attr.h
@@ -52,7 +52,6 @@ extern void attr_check_free(struct attr_check *check);
*/
extern const char *git_attr_name(const struct git_attr *);
-int git_check_attrs(const char *path, int, struct attr_check_item *);
extern int git_check_attr(const char *path, struct attr_check *check);
/*