Skip to content

Commit 13bd825

Browse files
authored
Merge pull request #900 from moguls753/main
Use git difftool for merge.tool identifiers
2 parents 536b790 + 77ceaa0 commit 13bd825

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

lib/thor/shell/basic.rb

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -377,11 +377,7 @@ def merge(destination, content) #:nodoc:
377377
end
378378

379379
def merge_tool #:nodoc:
380-
@merge_tool ||= ENV["THOR_MERGE"] || git_merge_tool
381-
end
382-
383-
def git_merge_tool #:nodoc:
384-
`git config merge.tool`.rstrip rescue ""
380+
@merge_tool ||= ENV["THOR_MERGE"] || "git difftool --no-index"
385381
end
386382
end
387383
end

0 commit comments

Comments
 (0)