Re: [PATCH] Color support added to git-add--interactive.
- From
- Jean-Luc Herren <jlh@gmx.ch>
- Date
- Oct 13, 2007, 22:23 UTC
- Message-ID
- <47114550.6070505@gmx.ch>
- In-Reply-To
- <cff973550710131450r3b54a328k8db97488f4b50e2a@mail.gmail.com>
Dan Z wrote:
> I think color.add is better, because git-add--interactive goes beyond > coloring diffs. When this is complete, it should probably use > color.diff.<slot> for the actual diff output, and color.add.<slot> for > colored prompts/commands.
Or maybe rather color.interactive.<slot>, where <slot> could be 'prompt', 'header', etc. It's better to give it a name that describes what it is for, instead of one that describes which tool uses it. This way it could possibly be used for other potential interactive tools in the future.
jlh