summaryrefslogtreecommitdiff
path: root/userdiff.c
diff options
context:
space:
mode:
authorMichael Haggerty <mhagger@alum.mit.edu>2011-08-04 04:36:33 (GMT)
committerJunio C Hamano <gitster@pobox.com>2011-08-04 22:53:21 (GMT)
commitd932f4eb9fc88e93040635d291f6c195ea2e4ee3 (patch)
tree4f9399f476fdadb95b01c81e8c1bf86d0e114a0b /userdiff.c
parentca64d061e0ddf7fa1496a15c75eb5e730c4360e0 (diff)
downloadgit-d932f4eb9fc88e93040635d291f6c195ea2e4ee3.zip
git-d932f4eb9fc88e93040635d291f6c195ea2e4ee3.tar.gz
git-d932f4eb9fc88e93040635d291f6c195ea2e4ee3.tar.bz2
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 'userdiff.c')
-rw-r--r--userdiff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/userdiff.c b/userdiff.c
index 01d3a8b..bf553ad 100644
--- a/userdiff.c
+++ b/userdiff.c
@@ -270,7 +270,7 @@ struct userdiff_driver *userdiff_find_by_path(const char *path)
if (!path)
return NULL;
- if (git_checkattr(path, 1, &check))
+ if (git_check_attr(path, 1, &check))
return NULL;
if (ATTR_TRUE(check.value))