summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 468eb79)
raw | patch | inline | side by side (parent: 468eb79)
author | Junio C Hamano <junkio@cox.net> | |
Wed, 3 May 2006 06:03:15 +0000 (23:03 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Wed, 3 May 2006 06:03:15 +0000 (23:03 -0700) |
Otherwise we would report absolutely no objects in a fully
packed repository.
Signed-off-by: Junio C Hamano <junkio@cox.net>
packed repository.
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-count.c | patch | blob | history |
diff --git a/builtin-count.c b/builtin-count.c
index 0256369d5b2d9f34a85755e8c5c37f35fbc78cf8..5ee72df247245cbf5fc8d5b70e8b1fddd5ab7edd 100644 (file)
--- a/builtin-count.c
+++ b/builtin-count.c
}
if (verbose) {
struct packed_git *p;
+ if (!packed_git)
+ prepare_packed_git();
for (p = packed_git; p; p = p->next) {
if (!p->pack_local)
continue;