Re: [PATCH] Add config_int() method to the Git perl module
- From
Jeff King <peff@peff.net>
- Date
- Nov 24, 2007, 11:48 UTC
- Message-ID
- <20071124114839.GC17861@sigill.intra.peff.net>
- In-Reply-To
- <7vabp4u40y.fsf@gitster.siamese.dyndns.org>
On Fri, Nov 23, 2007 at 11:59:25AM -0800, Junio C Hamano wrote:
> Maybe in a similar way, we might want to add --color to "git > config" to return ANSI sequence, so that Git::config_color() can > work without even loading Term::ANSIColor?
We would also need a way of parsing the 'default' values, so git-config would need a way of saying "turn this value into its internal representation" (or the perl script would have to specify its defaults as raw ANSI codes, which is a bit ugly, but is that the C programs do).
-Peff