diff options
author | Linus Torvalds <torvalds@osdl.org> | 2005-10-13 15:38:28 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-10-13 15:38:28 -0700 |
commit | 9d835df246e81a6a03e3f633280c45e683e4c673 (patch) | |
tree | a878e0f1ab86c47489300b4ae23bc6f8736faddb /verify-pack.c | |
parent | 73319032c8d2b2c73138d5caee1d2838fe1305d2 (diff) | |
download | git-9d835df246e81a6a03e3f633280c45e683e4c673.tar.gz |
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 <torvalds@osdl.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'verify-pack.c')
-rw-r--r-- | verify-pack.c | 4 |
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); } |