Re: [PATCH] Color support added to git-add--interactive.
- From
Wincent Colaiuta <win@wincent.com>
- Date
- Oct 13, 2007, 20:36 UTC
- Message-ID
- <8DDFBF9A-2C68-404B-843C-BE63C52F0DAF@wincent.com>
- In-Reply-To
- <47112491.8070309@gmail.com>
El 13/10/2007, a las 22:03, Dan Zwell escribió:
Show 17 quoted lines
> The importance of the diff coloring pales in comparison to the > prompt coloring. Diff coloring is useful, but prompt coloring is a > basic usability concern (if people can't easily tell where a hunk > begins, the tool becomes annoying). Perhaps we could split this > into two patches, merging the first after a few small changes can > be taken care of, while the second may need more discussion and > testing. The coloring of the prompts is relatively low risk. It > just needs to be modified to take color settings from .git/config. > I was thinking that this might be the example that I would take > settings from: > > [color] > add-interactive = auto > [color "add-interactive"] > prompt = bold blue > header = bold > help = blue
Or could you just piggy-back on the settings for color.diff.<slot>?
And if a separate group for git-add is necessary, perhaps "add" would be enough, rather than "add-interactive".
Wincent