Re: [PATCH v2] count-objects: output "KiB" instead of "kilobytes"

2013-04-05 Thread Antoine Pelisse
Should we use that opportunity to implement an option like -h (for humanize) similar to what ls(1), df(1), du(1) does ? Of course "-h" is already used for help, so we could use -H or any other sensible choice. It can become tough to read the size when it gets big enough. On Thu, Apr 4, 2013 at 6:2

Re: [PATCH v2] count-objects: output "KiB" instead of "kilobytes"

2013-04-05 Thread Mihai Capotă
On Thu, Apr 4, 2013 at 6:27 PM, Junio C Hamano wrote: > Mihai Capotă writes: > >> The git manual contains an explicit warning about the output of a >> porcelain command changing: "The interface to Porcelain commands on >> the other hand are subject to change in order to improve the end user >> ex

Re: [PATCH v2] count-objects: output "KiB" instead of "kilobytes"

2013-04-04 Thread Junio C Hamano
Mihai Capotă writes: > The git manual contains an explicit warning about the output of a > porcelain command changing: "The interface to Porcelain commands on > the other hand are subject to change in order to improve the end user > experience." Yeah, I know that, as I wrote it ;-) Aside from c

Re: [PATCH v2] count-objects: output "KiB" instead of "kilobytes"

2013-04-04 Thread Mihai Capotă
On Wed, Apr 3, 2013 at 4:38 PM, Junio C Hamano wrote: > Mihai Capotă writes: >> diff --git a/git-cvsimport.perl b/git-cvsimport.perl >> index 73d367c..de44e33 100755 >> --- a/git-cvsimport.perl >> +++ b/git-cvsimport.perl >> @@ -1126,12 +1126,12 @@ unless ($opt_P) { >> } >> >> # The heuristic o

Re: [PATCH v2] count-objects: output "KiB" instead of "kilobytes"

2013-04-03 Thread Junio C Hamano
Mihai Capotă writes: > The code uses division by 1024. The master branch count-objects manual also > uses "KiB". > > Also updated the code that reads count-objects output (t5301, t5700, t7408, > and > git-cvsimport) and the Git User's Manual. > > Signed-off-by: Mihai Capotă > --- > Documentati