Re: Subject: [PATCH 2/3] Let git-add--interactive read colors from .gitconfig
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- Nov 13, 2007, 09:46 UTC
- Message-ID
- <fhbrpp$ceq$2@ger.gmane.org>
- In-Reply-To
- <47395F63.8040306@zwell.net>
Dan Zwell wrote:
Show 7 quoted lines
> Junio C Hamano wrote: >> But the point is, that you are not ignoring invalid color names >> but instead giving back a random match aren't you? > > No, if there's no match, the token is ignored. False matches are > possible in some cases (the bogus config option "colored" would match > "red", for example),
Match /\b(?:red|...)\b/ then
-- Jakub Narebski Warsaw, Poland ShadeHawk on #git