summaryrefslogtreecommitdiff
path: root/attr.c
diff options
context:
space:
mode:
authorLibravatar Michael Haggerty <mhagger@alum.mit.edu>2011-08-04 06:36:33 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-08-04 15:53:21 -0700
commitd932f4eb9fc88e93040635d291f6c195ea2e4ee3 (patch)
tree4f9399f476fdadb95b01c81e8c1bf86d0e114a0b /attr.c
parentgit-check-attr: Fix command-line handling to match docs (diff)
downloadtgif-d932f4eb9fc88e93040635d291f6c195ea2e4ee3.tar.xz
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>
Diffstat (limited to 'attr.c')
-rw-r--r--attr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/attr.c b/attr.c
index 658112eeb6..da29c8eb45 100644
--- a/attr.c
+++ b/attr.c
@@ -731,7 +731,7 @@ static void collect_all_attrs(const char *path)
rem = fill(path, pathlen, stk, rem);
}
-int git_checkattr(const char *path, int num, struct git_attr_check *check)
+int git_check_attr(const char *path, int num, struct git_attr_check *check)
{
int i;