Re: [PATCH 1/2] Teach Git how to parse standard power of 2 suffixes.
- From
Junio C Hamano <junkio@cox.net>
- Date
- Dec 31, 2006, 02:33 UTC
- Message-ID
- <7vodpkhjzq.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <20061231020218.GA5366@spearce.org>
"Shawn O. Pearce" <spearce@spearce.org> writes:
Show 5 quoted lines
> Sometimes its necessary to supply a value as a power of two in a > configuration parameter. In this case the user may want to use > the standard suffixes such as K, KB, KiB, etc. to indicate that > the numerical value should be multiplied by a constant base before > being used.
If you are really going to do this, I think we would need something similar to --bool to repo-config command.
Also can we fix the definition of core.packedGitWindowSize to be independent of the page size on a particular platform?