* [PATCH] Correct output of git-count-objects.
@ 2008-09-08 17:56 Mikael Magnusson
2008-09-08 23:00 ` Junio C Hamano
0 siblings, 1 reply; 2+ messages in thread
From: Mikael Magnusson @ 2008-09-08 17:56 UTC (permalink / raw)
To: Junio C Hamano; +Cc: git
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(-)
diff --git a/builtin-count-objects.c b/builtin-count-objects.c
index 6e80fe7..ab35b65 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;
}
--
1.6.0.GIT
--
Mikael Magnusson
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Correct output of git-count-objects.
2008-09-08 17:56 [PATCH] Correct output of git-count-objects Mikael Magnusson
@ 2008-09-08 23:00 ` Junio C Hamano
0 siblings, 0 replies; 2+ messages in thread
From: Junio C Hamano @ 2008-09-08 23:00 UTC (permalink / raw)
To: Mikael Magnusson; +Cc: git
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-09-08 23:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-08 17:56 [PATCH] Correct output of git-count-objects Mikael Magnusson
2008-09-08 23:00 ` Junio C Hamano
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.