difftool: Use eval to expand '--extcmd' expressions
authorDavid Aguilar <davvid@gmail.com>
Fri, 15 Jan 2010 22:03:44 +0000 (14:03 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 15 Jan 2010 23:04:45 +0000 (15:04 -0800)
commit9f3d54d193d9edcf443c9dd62789af5e8e47635c
tree0e774da7ac3481fb9de4e9178bb90fca2101c960
parentf47f1e2ce8b4022113120b32decb4436341dc3aa
difftool: Use eval to expand '--extcmd' expressions

It was not possible to pass quoted commands to '--extcmd'.
By using 'eval' we ensure that expressions with spaces and
quotes are supported.

Signed-off-by: David Aguilar <davvid@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-difftool--helper.sh
t/t7800-difftool.sh