builtin/mktree: remove hard-coded constant
[gitweb.git] / builtin / pack-objects.c
index 5041818ddf1843ade5aca00ba3247cbe45f32c68..e6316d294dca1a84149af0bb439027454c54e720 100644 (file)
@@ -970,8 +970,7 @@ static int no_try_delta(const char *path)
 
        if (!check)
                check = attr_check_initl("delta", NULL);
-       if (git_check_attr(&the_index, path, check))
-               return 0;
+       git_check_attr(&the_index, path, check);
        if (ATTR_FALSE(check->items[0].value))
                return 1;
        return 0;