X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=archive.c;h=3fd7f475f1d8ff5efe602a10f02ea3e1c3aa9edd;hb=87afe9a5ed759668e35513c44eacd2fd393ba658;hp=2a7a28e3ed35fe9db03ccf70b71867f7f8a22b8e;hpb=fca64c80fb61147215de89c2f9391ea0f5576b35;p=git.git diff --git a/archive.c b/archive.c index 2a7a28e3e..3fd7f475f 100644 --- a/archive.c +++ b/archive.c @@ -123,7 +123,7 @@ static int write_archive_entry(const unsigned char *sha1, const char *base, path_without_prefix = path.buf + args->baselen; setup_archive_check(check); - if (!git_checkattr(path_without_prefix, ARRAY_SIZE(check), check)) { + if (!git_check_attr(path_without_prefix, ARRAY_SIZE(check), check)) { if (ATTR_TRUE(check[0].value)) return 0; convert = ATTR_TRUE(check[1].value);