Skip to content

Commit

Permalink
Don't set merge tool on Linux.
Browse files Browse the repository at this point in the history
  • Loading branch information
reitermarkus authored May 16, 2024
1 parent 29ea864 commit 0e7a0fb
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions lib/tasks/git.rake
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,13 @@ namespace :git do
command 'git', 'config', '--global', 'instaweb.httpd', 'webrick'
command 'git', 'config', '--global', 'instaweb.browser', 'open'

command 'git', 'config', '--global', 'mergetool.araxis.path', 'araxiscompare'
command 'git', 'config', '--global', 'merge.tool', 'araxis'
unless linux?
command 'git', 'config', '--global', 'mergetool.araxis.path', 'araxiscompare'
command 'git', 'config', '--global', 'merge.tool', 'araxis'

command 'git', 'config', '--global', 'difftool.araxis.path', 'araxiscompare'
command 'git', 'config', '--global', 'diff.tool', 'araxis'
command 'git', 'config', '--global', 'difftool.araxis.path', 'araxiscompare'
command 'git', 'config', '--global', 'diff.tool', 'araxis'
end
end

desc 'Install Git Commands'
Expand Down

0 comments on commit 0e7a0fb

Please sign in to comment.