Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions lib/thor/shell/basic.rb
Original file line number Diff line number Diff line change
Expand Up @@ -377,11 +377,7 @@ def merge(destination, content) #:nodoc:
end

def merge_tool #:nodoc:
@merge_tool ||= ENV["THOR_MERGE"] || git_merge_tool
end

def git_merge_tool #:nodoc:
`git config merge.tool`.rstrip rescue ""
@merge_tool ||= ENV["THOR_MERGE"] || "git difftool --no-index"
end
end
end
Expand Down
Loading