diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-01-27 18:01:58 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-02-01 13:46:52 -0800 |
commit | 1295c2152457c2267d605d353332ae4b3e5e5d5c (patch) | |
tree | 21e5827579caa55470019c57c44ec95d1bf54bb3 /attr.c | |
parent | 2aef63d31c338a764099e925d35fe2a9c71348a8 (diff) | |
download | git-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.c')
-rw-r--r-- | attr.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -890,7 +890,8 @@ static void collect_some_attrs(const char *path, int num, rem = fill(path, pathlen, basename_offset, stk, rem); } -int git_check_attrs(const char *path, int num, struct attr_check_item *check) +static int git_check_attrs(const char *path, int num, + struct attr_check_item *check) { int i; |