From: "David Symonds" <dsymonds@gmail.com>
To: "Jakub Narebski" <jnareb@gmail.com>
Cc: "Jan Hudec" <bulb@ucw.cz>, "Git Mailing List" <git@vger.kernel.org>
Subject: Re: Configuration overrides via environment variable
Date: Tue, 29 Jan 2008 10:11:05 +1100 [thread overview]
Message-ID: <ee77f5c20801281511md7bdeeme383a140fdc854ec@mail.gmail.com> (raw)
In-Reply-To: <m3tzkx8smg.fsf@localhost.localdomain>
On Jan 29, 2008 9:58 AM, Jakub Narebski <jnareb@gmail.com> wrote:
> Jan Hudec <bulb@ucw.cz> writes:
>
> > On Mon, Jan 28, 2008 at 12:08:10 +1100, David Symonds wrote:
> > >
> > > I'm using Git in some scripts, and wanted to get its colorised output
> > > even when it is not going to a tty. I don't want to permanently change
> > > ~/.gitconfig or the per-repo config; I just want to set color.status
> > > (and perhaps others) to "always" for a one-off run. I suppose I could
> > > munge the config files, storing the previous value and restoring it
> > > later, but that's messy.
>
> Cannot you just use --color option?
My version of Git (1.5.3.8) doesn't have a --color option for
git-status, and I can't find support for it in 'next', either. It
would be ideal if there was a --color option, though.
Dave.
prev parent reply other threads:[~2008-01-28 23:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-28 1:08 Configuration overrides via environment variable David Symonds
2008-01-28 20:58 ` Jan Hudec
2008-01-28 22:58 ` Jakub Narebski
2008-01-28 23:11 ` David Symonds [this message]
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=ee77f5c20801281511md7bdeeme383a140fdc854ec@mail.gmail.com \
--to=dsymonds@gmail.com \
--cc=bulb@ucw.cz \
--cc=git@vger.kernel.org \
--cc=jnareb@gmail.com \
/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).