Re: [PATCH] Add config_int() method to the Git perl module
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Nov 23, 2007, 19:59 UTC
- Message-ID
- <7vabp4u40y.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <200711231904.53551.jnareb@gmail.com>
Jakub Narebski <jnareb@gmail.com> writes:
> Integer variables can have optional 'k', 'm' or 'g' suffix. > config_int() method will return simple decimal number, taking > care of those suffixes.
Good. I forgot about --int option to "git config" already.
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?