summaryrefslogtreecommitdiff
path: root/builtin-count-objects.c
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@gmail.com>2008-09-08 19:56:32 +0200
committerJunio C Hamano <gitster@pobox.com>2008-09-08 14:25:43 -0700
commitbfd083b734fe812b347ee71dca416d2bcfa87480 (patch)
treebc17ae0b8205f31dece1d65b2c7c02ca6eba345e /builtin-count-objects.c
parente705d757bde06c2e523fc5bbbbf62bbb7c2234e9 (diff)
downloadgit-bfd083b734fe812b347ee71dca416d2bcfa87480.tar.gz
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>
Diffstat (limited to 'builtin-count-objects.c')
-rw-r--r--builtin-count-objects.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-count-objects.c b/builtin-count-objects.c
index 6e80fe7c01..ab35b65b07 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;
}