author | Steffen Prohaska <prohaska@zib.de> | |
Wed, 17 Oct 2007 17:16:11 +0000 (19:16 +0200) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Thu, 18 Oct 2007 07:46:24 +0000 (03:46 -0400) | ||
commit | e3fa2c761fdc490494e8e0855bcee4d7e58ada6a | |
tree | 52702bcd2bee8821a1bb8bc04040efa19acf881c | tree | snapshot |
parent | de61e42b539ffbd28d2a2ba827bb0eb79767057b | commit | diff |
mergetool: use path to mergetool in config var mergetool.<tool>.path
This commit adds a mechanism to provide absolute paths to the
external programs called by 'git mergetool'. A path can be
specified in the configuation variable mergetool.<tool>.path.
The configuration variable is similar to how we name branches
and remotes. It is extensible if we need to specify more details
about a tool.
The mechanism is especially useful on Windows, where external
programs are unlikely to be in PATH.
[sp: Fixed a few minor issues prior to applying]
Signed-off-by: Steffen Prohaska <prohaska@zib.de>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
This commit adds a mechanism to provide absolute paths to the
external programs called by 'git mergetool'. A path can be
specified in the configuation variable mergetool.<tool>.path.
The configuration variable is similar to how we name branches
and remotes. It is extensible if we need to specify more details
about a tool.
The mechanism is especially useful on Windows, where external
programs are unlikely to be in PATH.
[sp: Fixed a few minor issues prior to applying]
Signed-off-by: Steffen Prohaska <prohaska@zib.de>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Documentation/git-mergetool.txt | diff | blob | history | |
git-mergetool.sh | diff | blob | history |