git-check-attr: Normalize paths
[gitweb.git] / builtin / pack-objects.c
index 84e6dafb12657a6f0431f2a287d0cca976269c35..ac8bed8aa1a704e81192b43beb5fe1ca5b805e85 100644 (file)
@@ -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;