On Jan 29, 2008 9:58 AM, Jakub Narebski <jnareb@xxxxxxxxx> wrote: > Jan Hudec <bulb@xxxxxx> 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. - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html