On Thu, Aug 14, 2008 at 06:18:27PM -0400, Marcus Griep wrote:Frankly, I doubt this has too much value, and it complicates the code _a lot_. If you can't fit your stuff into pretty column, it's better to just print whatever you have to and disrupt the columns instead of _failing_, isn't it? Shouldn't pretty much all of this be documented in the code too? My point still stands - in case of binary units, we should always consistently use the i suffix. So having an example in the commit message that advertises "bps" is simply wrong when it should read "iB/s" (like it does with the current progress.c code). I may sound boring, but it seems to me that you're still ignoring my point quitly without proper counter-argumentation and I think it's an important want, and since it's so hard to keep things consistent across the wide Git codebase, we should do all we can to keep it. Whitespace damage? Also at a lot of other places in your patch. Hmmm. We could have + char *hr_prefixes[] = { + "", "Ki", "Mi", "Gi", "Ti", "Pi", "Ei", "Zi", "Yi", NULL + }; + char *hr_si_prefixes[] = { + "", "k", "M", "G", "T", "P", "E", "Z", "Y", NULL + }; ;-) -- 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
| Linus Torvalds | Linux 2.6.21 |
| Greg Kroah-Hartman | [PATCH 002/196] Chinese: rephrase English introduction in HOWTO |
| Con Kolivas | Re: [PATCH][RSDL-mm 0/7] RSDL cpu scheduler for 2.6.21-rc3-mm2 |
| Andrew Morton | echo mem > /sys/power/state |
git: | |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| David Miller | Re: [GIT]: Networking |
| Michael S. Tsirkin | Re: [RFC PATCH v2 03/19] vbus: add connection-client helper infrastructure |
