Code

difftool: Allow specifying unconfigured commands with --extcmd
[git.git] / Documentation / git-difftool.txt
index a5bce6278b6570e9feb94cfbe0f67f3814a36aa5..f67d2db761e28aa1d69a182c0361718ee1ec751c 100644 (file)
@@ -58,6 +58,11 @@ is set to the name of the temporary file containing the contents
 of the diff post-image.  `$BASE` is provided for compatibility
 with custom merge tool commands and has the same value as `$LOCAL`.
 
+--extcmd=<command>::
+       Specify a custom command for viewing diffs.
+       'git-difftool' ignores the configured defaults and runs
+       `$command $LOCAL $REMOTE` when this option is specified.
+
 -g::
 --gui::
        When 'git-difftool' is invoked with the `-g` or `--gui` option