Re: [PATCH v2 2/3] strbuf: Add method to convert byte-size to human readable form

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Junio C Hamano <gitster@...>
Cc: Marcus Griep <marcus@...>, Git Mailing List <git@...>
Date: Thursday, August 14, 2008 - 7:24 pm

On Thu, Aug 14, 2008 at 04:04:55PM -0700, Junio C Hamano wrote:

I dont hink it would be a big deal to say bytes/s or B/s (which is as
long as bps).


Frankly, my gut feeling here is that we are overengineering the whole
thing quite a bit, which is the same reason I dislike maxlen.

If it turns out we really do need to have custom prefixes somewhere, we
would have to go with something like this, but on the other hand this
goes against the consistency of output, and I have a bit of trouble
imagining a convincing use-case. So far we have two fairly different
users of such a code and just tailoring it to these two seems to make it
general enough for now.

-- 
				Petr "Pasky" Baudis
The next generation of interesting software will be done
on the Macintosh, not the IBM PC.  -- Bill Gates
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH v2 2/3] strbuf: Add method to convert byte-size t..., Petr Baudis, (Thu Aug 14, 7:24 pm)