Re: [PATCH v2 0/4] Auto-generate mergetool lists
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jan 28, 2013, 21:50 UTC
- Message-ID
- <7vk3qxugdg.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <20130128210136.GC7498@serenity.lan>
John Keeping <john@keeping.me.uk> writes:
Show 25 quoted lines
> I've had a quick look and it's quite straightforward to build on top of > this to get an output format like this: > > 'git mergetool --tool-<tool>' may be set to one of the following: > araxis >... > vimdiff2 > > user-defined: > mytool > > The following tools are valid, but not currently available: > bc3 >... > xxdiff > > user-defined: > mybrokentool > > Some of the tools listed above only work in a windowed > environment. If run in a terminal-only session, they will fail. > > I don't think the suffix form would be too hard either - it just > requires moving an explicit sort into the top-level shot_tool_help > function.
I tend to think that one-tool-per-line format like the above looks nicer.
What are the situations where a valid user-defined tools is unavailable, by the way?