projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e705d75
)
Correct output of git-count-objects.
author
Mikael Magnusson
<mikachu@gmail.com>
Mon, 8 Sep 2008 17:56:32 +0000
(19:56 +0200)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 8 Sep 2008 21:25:43 +0000
(14:25 -0700)
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>
builtin-count-objects.c
patch
|
blob
|
history
diff --git
a/builtin-count-objects.c
b/builtin-count-objects.c
index 6e80fe7c016788c178e206c61f5ef3c1fdea506c..ab35b65b073e9bc089fcc96f295ca3bc457c992a 100644
(file)
--- 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;
}