mergetool fixes

Mon, 10 Aug 2020 17:51:44 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Mon, 10 Aug 2020 17:51:44 -0500
changeset 881
a5b3b7b6850c
parent 880
21a8fdcc9f38
child 882
e87f11edf6e0

mergetool fixes

.gitconfig file | annotate | diff | comparison | revisions
.hgrc file | annotate | diff | comparison | revisions
--- a/.gitconfig
+++ b/.gitconfig
@@ -41,7 +41,9 @@
 	program = "gpg2"
 
 [merge]
-	tool = vimdiff2
+	tool = vimdiff3
+	guitool = gvimdiff
+	conflictstyle = diff3
 
 [branch]
 	autosetuprebase = always
--- a/.hgrc
+++ b/.hgrc
@@ -1,6 +1,6 @@
 [ui]
 username    = Meredith Howard <mhoward@roomag.org>
-merge       = vimdiff
+merge       = vimdiff3
 logtemplate = "{logcust}"
 
 [extensions]
@@ -22,9 +22,10 @@ glog    = log -G
 draft   = log -r 'reverse(not public())'
 
 [merge-tools]
-vimdiff.executable = vim
-vimdiff.args       = -d -c 'hid|hid' $base $local $output $other
-vimdiff.check      = changed, conflicts
+vimdiff3.executable = vim
+vimdiff3.args       = -f -d -M $local $base $other $output -c 'hid|hid|hid|set ma write'
+vimdiff3.check      = changed, conflicts
+vimdiff3.premerge   = keep-merge3
 
 [diff]
 git      = true

mercurial