From bfd083b734fe812b347ee71dca416d2bcfa87480 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Mon, 8 Sep 2008 19:56:32 +0200 Subject: [PATCH] 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 --- builtin-count-objects.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin-count-objects.c b/builtin-count-objects.c index 6e80fe7c0..ab35b65b0 100644 --- a/builtin-count-objects.c +++ b/builtin-count-objects.c @@ -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; } -- 2.26.2