Rename git_checkattr() to git_check_attr()
Suggested by: Junio Hamano <gitster@pobox.com> Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
ca64d061e0
commit
d932f4eb9f
@ -634,7 +634,7 @@ static int no_try_delta(const char *path)
|
||||
struct git_attr_check check[1];
|
||||
|
||||
setup_delta_attr_check(check);
|
||||
if (git_checkattr(path, ARRAY_SIZE(check), check))
|
||||
if (git_check_attr(path, ARRAY_SIZE(check), check))
|
||||
return 0;
|
||||
if (ATTR_FALSE(check->value))
|
||||
return 1;
|
||||
|
||||
Reference in New Issue
Block a user