git-mergetool: remove redundant assignment
authorJohn Keeping <john@keeping.me.uk>
Fri, 25 Jan 2013 09:43:49 +0000 (01:43 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 25 Jan 2013 19:07:39 +0000 (11:07 -0800)
TOOL_MODE is set at the top of git-mergetool.sh so there is no need to
set it again in show_tool_help.  Removing this lets us re-use
show_tool_help in git-difftool.

Signed-off-by: John Keeping <john@keeping.me.uk>
Signed-off-by: David Aguilar <davvid@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-mergetool--lib.sh

index 89a857f508ee91b985844bc38cbe29918fef74a7..1748315bc2b45db2b078a3ff293f779d18f7026d 100644 (file)
@@ -175,7 +175,6 @@ list_merge_tool_candidates () {
 }
 
 show_tool_help () {
-       TOOL_MODE=merge
        list_merge_tool_candidates
        unavailable= available= LF='
 '