mergetool--lib: simplify command expressions
authorDavid Aguilar <davvid@gmail.com>
Mon, 28 Jan 2013 00:52:23 +0000 (16:52 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 29 Jan 2013 22:30:46 +0000 (14:30 -0800)
commit80ff2b68f28193af70d4c0bb9d363531eb1c3d23
treec17defc9d8df8dd6e2b0e75b5ce637a6562a849c
parent073678b8e6324a155fa99f40eee0637941a70a34
mergetool--lib: simplify command expressions

Update variable assignments to always use $(command "$arg")
in their RHS instead of "$(command "$arg")" as the latter
is harder to read.  Make get_merge_tool_cmd() simpler by
avoiding "echo" and $(command) substitutions completely.

Signed-off-by: David Aguilar <davvid@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-mergetool--lib.sh