[git] reorder mergetools in config
change
commit 4a0c23926780573350def33ded4209782e97ca22
author Alpha Chen <alpha.chen@gmail.com>
date
parent ae9ec088
diff --git a/.gitconfig b/.gitconfig
index 7df7693e..9b984c3a 100644
--- a/.gitconfig
+++ b/.gitconfig
@@ -24,20 +24,14 @@
 	prompt = false
 [difftool "sourcetree"]
 	cmd = opendiff \"$LOCAL\" \"$REMOTE\"
-[mergetool "sourcetree"]
-	cmd = /Applications/SourceTree.app/Contents/Resources/opendiff-w.sh \"$LOCAL\" \"$REMOTE\" -ancestor \"$BASE\" -merge \"$MERGED\"
-	trustExitCode = true
-[push]
-	default = current
-	followTags = true
-	recurseSubmodules = on-demand
 [difftool "kaleidoscope"]
 	cmd = ksdiff --partial-changeset --relative-path \"$MERGED\" -- \"$LOCAL\" \"$REMOTE\"
-[mergetool "kaleidoscope"]
-	cmd = ksdiff --merge --output \"$MERGED\" --base \"$BASE\" -- \"$LOCAL\" --snapshot \"$REMOTE\" --snapshot
-	trustExitCode = true
 [difftool "icdiff"]
 	cmd = icdiff --line-numbers --no-bold \"$LOCAL\" \"$REMOTE\"
+[push]
+	default = current
+	followTags = true
+	recurseSubmodules = on-demand
 [grep]
 	extendRegexp = true
 	lineNumber = true
@@ -48,6 +42,13 @@
 [merge]
 	conflictstyle = diff3
 	ff = false
+	tool = vimdiff
+[mergetool "sourcetree"]
+	cmd = /Applications/SourceTree.app/Contents/Resources/opendiff-w.sh \"$LOCAL\" \"$REMOTE\" -ancestor \"$BASE\" -merge \"$MERGED\"
+	trustExitCode = true
+[mergetool "kaleidoscope"]
+	cmd = ksdiff --merge --output \"$MERGED\" --base \"$BASE\" -- \"$LOCAL\" --snapshot \"$REMOTE\" --snapshot
+	trustExitCode = true
 [init]
 	templatedir = ~/.git_templates
 [diff]