Merge branch 'sb/pull-rebase-submodule'
[gitweb.git] / builtin / pack-objects.c
index c0741baa8bbaf97f7493a12c375930dfbb5c8eb9..0d80dee2ba1ad82fd21622f73dac86b6010da4b6 100644 (file)
@@ -951,7 +951,7 @@ static int no_try_delta(const char *path)
 
        if (!check)
                check = attr_check_initl("delta", NULL);
-       if (git_check_attr(path, check))
+       if (git_check_attr(&the_index, path, check))
                return 0;
        if (ATTR_FALSE(check->items[0].value))
                return 1;