summaryrefslogtreecommitdiff
path: root/verify-pack.c
diff options
context:
space:
mode:
Diffstat (limited to 'verify-pack.c')
-rw-r--r--verify-pack.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/verify-pack.c b/verify-pack.c
index 80b60a6b7c..c99db9dd79 100644
--- a/verify-pack.c
+++ b/verify-pack.c
@@ -15,12 +15,12 @@ static int verify_one_pack(char *arg, int verbose)
len--;
}
/* Should name foo.idx now */
- if ((g = add_packed_git(arg, len)))
+ if ((g = add_packed_git(arg, len, 1)))
break;
/* No? did you name just foo? */
strcpy(arg + len, ".idx");
len += 4;
- if ((g = add_packed_git(arg, len)))
+ if ((g = add_packed_git(arg, len, 1)))
break;
return error("packfile %s not found.", arg);
}