Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/attr.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-01-28 05:01:58 +0300
committerJunio C Hamano <gitster@pobox.com>2017-02-02 00:46:52 +0300
commit1295c2152457c2267d605d353332ae4b3e5e5d5c (patch)
tree21e5827579caa55470019c57c44ec95d1bf54bb3 /attr.h
parent2aef63d31c338a764099e925d35fe2a9c71348a8 (diff)
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);
/*