projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
git-svn: tests no longer fail if LC_ALL is not a UTF-8 locale
[git.git]
/
builtin-count.c
diff --git
a/builtin-count.c
b/builtin-count.c
index
0256369
..
5ee72df
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 (verbose) {
struct packed_git *p;
+ if (!packed_git)
+ prepare_packed_git();
for (p = packed_git; p; p = p->next) {
if (!p->pack_local)
continue;
for (p = packed_git; p; p = p->next) {
if (!p->pack_local)
continue;