Skip to content

Commit

Permalink
git-mergetool: remove redundant assignment
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
John Keeping authored and Junio C Hamano committed Jan 25, 2013
1 parent 4a8273a commit 26daa84
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion git-mergetool--lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,6 @@ list_merge_tool_candidates () {
}

show_tool_help () {
TOOL_MODE=merge
list_merge_tool_candidates
unavailable= available= LF='
'
Expand Down

0 comments on commit 26daa84

Please sign in to comment.