files-backend: remove the use of git_path()
[gitweb.git] / builtin / replace.c
index f7716a547293a58bfb96773acb60692ac86e0efb..f83e7b8fc1758aa837b4dd48708a3d6c31bcd226 100644 (file)
@@ -121,7 +121,7 @@ static int for_each_replace_name(const char **argv, each_replace_name_fn fn)
 static int delete_replace_ref(const char *name, const char *ref,
                              const struct object_id *oid)
 {
-       if (delete_ref(ref, oid->hash, 0))
+       if (delete_ref(NULL, ref, oid->hash, 0))
                return 1;
        printf("Deleted replace ref '%s'\n", name);
        return 0;