From 9d835df246e81a6a03e3f633280c45e683e4c673 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Thu, 13 Oct 2005 15:38:28 -0700 Subject: Keep track of whether a pack is local or not If we want to re-pack just local packfiles, we need to know whether a particular object is local or not. Signed-off-by: Linus Torvalds Signed-off-by: Junio C Hamano --- verify-pack.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'verify-pack.c') 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); } -- cgit v1.2.1