Correct output of git-count-objects.
PATCH 1/1 Correct output of git-count-objects.
The non-verbose output was not changed in fdb2a2a600969598fd80f01b009fbbb020d596ab ("compat: introduce on_disk_bytes()") which caused git-count-objects to claim 512 times too much space used for loose objects.
--- builtin-count-objects.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
builtin-count-objects.c +1 -1
@@ -126,6 +126,6 @@ int cmd_count_objects(int argc, const char **argv, const char *prefix) }else printf ("%lu objects, %lu kilobytes\n" , - loose, loose_size /2 ); + loose, loose_size /1024 );return 0 ; }
Signature · 5 lines
1.6.0.GIT -- Mikael Magnusson
Thanks.
This is an obvious one-liner that nobody possibly can accuse us of stealing from anything proprietary, but as a general principle, please sign-off your patch next time.