All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] count-objects: output "KiB" instead of "kilobytes"
@ 2013-04-02 11:43 Mihai Capotă
  2013-04-02 17:41 ` Junio C Hamano
  2013-04-02 22:01 ` Junio C Hamano
  0 siblings, 2 replies; 21+ messages in thread
From: Mihai Capotă @ 2013-04-02 11:43 UTC (permalink / raw)
  To: git; +Cc: gitster

The code uses division by 1024. Also, the manual uses "KiB".

Signed-off-by: Mihai Capotă <mihai@mihaic.ro>
---
 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 9afaa88..ecc13b0 100644
--- a/builtin/count-objects.c
+++ b/builtin/count-objects.c
@@ -124,7 +124,7 @@ int cmd_count_objects(int argc, const char **argv, const char *prefix)
 		printf("garbage: %lu\n", garbage);
 	}
 	else
-		printf("%lu objects, %lu kilobytes\n",
+		printf("%lu objects, %lu KiB\n",
 		       loose, (unsigned long) (loose_size / 1024));
 	return 0;
 }
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2013-04-10 20:12 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-02 11:43 [PATCH] count-objects: output "KiB" instead of "kilobytes" Mihai Capotă
2013-04-02 17:41 ` Junio C Hamano
2013-04-02 22:01 ` Junio C Hamano
2013-04-03  6:27   ` Mihai Capotă
2013-04-03 12:48   ` [PATCH v2] " Mihai Capotă
2013-04-03 14:38     ` Junio C Hamano
2013-04-04 13:18       ` Mihai Capotă
2013-04-04 16:27         ` Junio C Hamano
2013-04-05  9:38           ` Mihai Capotă
2013-04-05  9:39           ` [PATCH] count-objects doc: document use of kibibytes Mihai Capotă
2013-04-05 20:31           ` [PATCH v2] count-objects: output "KiB" instead of "kilobytes" Antoine Pelisse
2013-04-08 18:18             ` [PATCH 1/2] progress: create public humanize() to show sizes Antoine Pelisse
2013-04-08 18:18               ` [PATCH 2/2] count-objects: add -H option to humanize sizes Antoine Pelisse
2013-04-08 21:40               ` [PATCH 1/2] progress: create public humanize() to show sizes Junio C Hamano
2013-04-10 19:03                 ` [PATCH 1/2] strbuf: create strbuf_humanize() to show byte sizes Antoine Pelisse
2013-04-10 19:03                   ` [PATCH 2/2] count-objects: add -H option to humanize sizes Antoine Pelisse
2013-04-10 19:43                   ` [PATCH 1/2] strbuf: create strbuf_humanize() to show byte sizes Jonathan Nieder
2013-04-10 20:00                     ` Antoine Pelisse
2013-04-10 19:57                   ` Junio C Hamano
2013-04-10 20:12                     ` Antoine Pelisse
2013-04-08 21:55               ` [PATCH 1/2] progress: create public humanize() to show sizes Eric Sunshine

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.