Code

difftool: Allow specifying unconfigured commands with --extcmd
authorDavid Aguilar <davvid@gmail.com>
Sun, 10 Jan 2010 04:02:42 +0000 (20:02 -0800)
committerJunio C Hamano <gitster@pobox.com>
Sun, 10 Jan 2010 06:41:30 +0000 (22:41 -0800)
commit1c6f5b52b7b13bbc6cf404cb5ef9e64fda37655c
tree99d43713fe0d6097883ef9d254e263bcd3ea34a8
parent61ed71dcff8448b0700ef032aa1f962649306624
difftool: Allow specifying unconfigured commands with --extcmd

git-difftool requires difftool.<tool>.cmd configuration even when
tools use the standard "$diffcmd $from $to" form.  This teaches
git-difftool to run these tools in lieu of configuration by
allowing the command to be specified on the command line.

Reference: http://article.gmane.org/gmane.comp.version-control.git/133377
Signed-off-by: David Aguilar <davvid@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-difftool.txt
git-difftool--helper.sh
git-difftool.perl
t/t7800-difftool.sh