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>
This commit is contained in:
3
attr.c
3
attr.c
@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user