From: Junio C Hamano <gitster@pobox.com>
To: Jakub Narebski <jnareb@gmail.com>
Cc: git@vger.kernel.org, Jeff King <peff@peff.net>,
Dan Zwell <dzwell@zwell.net>
Subject: Re: [PATCH] Add config_int() method to the Git perl module
Date: Fri, 23 Nov 2007 11:59:25 -0800 [thread overview]
Message-ID: <7vabp4u40y.fsf@gitster.siamese.dyndns.org> (raw)
In-Reply-To: <200711231904.53551.jnareb@gmail.com> (Jakub Narebski's message of "Fri, 23 Nov 2007 19:04:52 +0100")
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?
next prev parent reply other threads:[~2007-11-23 19:59 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-23 18:04 [PATCH] Add config_int() method to the Git perl module Jakub Narebski
2007-11-23 19:59 ` Junio C Hamano [this message]
2007-11-23 20:57 ` Wincent Colaiuta
2007-11-24 11:48 ` Jeff King
2007-11-28 7:20 ` [PATCH] git-config --get-color: get configured color Junio C Hamano
2007-11-28 7:58 ` Dan Zwell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7vabp4u40y.fsf@gitster.siamese.dyndns.org \
--to=gitster@pobox.com \
--cc=dzwell@zwell.net \
--cc=git@vger.kernel.org \
--cc=jnareb@gmail.com \
--cc=peff@peff.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).