@matheusbsbs / matheus-bagliano / commits / bfd083b734
Fork 0

Correct output of git-count-objects.

The non-verbose output was not changed in fdb2a2a (compat: introduce on_disk_bytes(), 2008-08-18) which caused git-count-objects to claim 512 times too much space used for loose objects. Signed-off-by: Junio C Hamano <gitster@pobox.com>

Mikael Magnusson committed Sep 8, 2008 at 19:56 UTC bfd083b734fe812b347ee71dca416d2bcfa87480
1 file changed +1 -1
builtin-count-objects.c
+1 -1
@@ -126,6 +126,6 @@ int cmd_count_objects(int argc, const char **argv, const char *prefix)
126 }
127 else
128 printf("%lu objects, %lu kilobytes\n",
129 - loose, loose_size / 2);
129 + loose, loose_size / 1024);
130 return 0;
131 }