Code

Merge branch 'mg/count-objects'
authorJunio C Hamano <gitster@pobox.com>
Thu, 21 Aug 2008 06:41:54 +0000 (23:41 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 21 Aug 2008 06:41:54 +0000 (23:41 -0700)
* mg/count-objects:
  count-objects: Add total pack size to verbose output

1  2 
builtin-count-objects.c

index a1c9eb41cbad932f0438c0c68ca5c3764c78a65c,249040b96a44d4e2ca591c7bfd9742afc251cf21..6e80fe7c016788c178e206c61f5ef3c1fdea506c
@@@ -115,9 -117,10 +117,10 @@@ int cmd_count_objects(int argc, const c
                        num_pack++;
                }
                printf("count: %lu\n", loose);
 -              printf("size: %lu\n", loose_size / 2);
 +              printf("size: %lu\n", loose_size / 1024);
                printf("in-pack: %lu\n", packed);
                printf("packs: %lu\n", num_pack);
+               printf("size-pack: %lu\n", size_pack / 1024);
                printf("prune-packable: %lu\n", packed_loose);
                printf("garbage: %lu\n", garbage);
        }