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>
This commit is contained in:
Mikael Magnusson 2008-09-08 19:56:32 +02:00 committed by Junio C Hamano
parent e705d757bd
commit bfd083b734

View File

@ -126,6 +126,6 @@ int cmd_count_objects(int argc, const char **argv, const char *prefix)
} }
else else
printf("%lu objects, %lu kilobytes\n", printf("%lu objects, %lu kilobytes\n",
loose, loose_size / 2); loose, loose_size / 1024);
return 0; return 0;
} }