Files
git/Documentation
Charles Bailey 964473a042 Teach git mergetool to use custom commands defined at config time
Currently git mergetool is restricted to a set of commands defined
in the script. You can subvert the mergetool.<tool>.path to force
git mergetool to use a different command, but if you have a command
whose invocation syntax does not match one of the current tools then
you would have to write a wrapper script for it.

This patch adds two git config variable patterns which allow a more
flexible choice of merge tool.

If you run git mergetool with -t/--tool or the merge.tool config
variable set to an unrecognized tool then git mergetool will query the
mergetool.<tool>.cmd config variable. If this variable exists, then git
mergetool will treat the specified tool as a custom command and will use
a shell eval to run the command with the documented shell variables set.

mergetool.<tool>.trustExitCode can be used to indicate that the exit
code of the custom command can be used to determine the success of the
merge.

Signed-off-by: Charles Bailey <charles@hashpling.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2008-03-05 12:07:04 -08:00
..
2008-01-14 18:04:51 -08:00
2008-03-02 16:08:37 -08:00
2007-12-14 22:29:38 -08:00
2007-08-10 11:32:42 -07:00
2008-01-17 22:55:25 -08:00
2007-06-07 00:04:01 -07:00
2007-06-07 00:04:01 -07:00
2007-07-24 00:47:05 -07:00
2008-01-29 22:00:34 -08:00
2008-03-01 01:09:06 -08:00
2008-03-02 16:08:37 -08:00
2008-02-19 21:31:33 -08:00
2008-02-19 20:46:15 -08:00
2008-01-14 16:14:29 -08:00
2008-02-27 14:07:51 -08:00
2008-02-23 11:49:34 -08:00
2008-01-07 14:02:00 -08:00
2007-06-07 00:04:01 -07:00
2007-06-07 00:04:01 -07:00
2007-06-07 00:04:01 -07:00
2007-06-07 00:04:01 -07:00
2007-06-07 00:04:01 -07:00
2007-05-08 22:11:17 -07:00
2007-05-20 00:15:53 -07:00
2007-05-20 00:15:53 -07:00
2007-06-02 16:02:49 -07:00
2007-06-16 01:13:35 -07:00
2007-07-02 00:35:58 -07:00
2007-07-12 12:01:47 -07:00
2007-08-15 15:01:20 -07:00
2007-05-20 00:30:39 -07:00
2007-09-19 03:11:28 -07:00
2008-01-29 22:00:34 -08:00
2007-10-03 02:33:48 -07:00
2007-11-18 14:00:38 -08:00
2007-12-01 11:20:00 -08:00
2008-01-07 22:41:43 -08:00
2008-02-17 00:20:38 -08:00
2008-02-17 00:20:38 -08:00
2008-02-23 11:31:04 -08:00
2008-02-01 19:10:10 -08:00