Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
combine-diff.c: type sanity
[gitweb.git]
/
builtin-count.c
diff --git
a/builtin-count.c
b/builtin-count.c
index 0256369d5b2d9f34a85755e8c5c37f35fbc78cf8..5ee72df247245cbf5fc8d5b70e8b1fddd5ab7edd 100644
(file)
--- a/
builtin-count.c
+++ b/
builtin-count.c
@@
-105,6
+105,8
@@
int cmd_count_objects(int ac, const char **av, char **ep)
}
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;