mirror of
https://github.com/git/git.git
synced 2026-01-12 13:53:11 +09:00
Merge branch 'jc/count' into next
* jc/count: builtin-count-objects: open packs when running -v
This commit is contained in:
commit
86c2f32b19
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user