From d905f3c554a8c6fd35d08a2dac3b865da04444d6 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Tue, 25 Jun 2013 13:28:47 +0200 Subject: [PATCH] kaleidoscope as merge tool --- gitconfig | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/gitconfig b/gitconfig index 4edf68d..c85a4fa 100644 --- a/gitconfig +++ b/gitconfig @@ -41,18 +41,17 @@ cm = commit -m l = log --graph --pretty=format:'%C(yellow)%h%C(cyan)%d%Creset %s %C(white)- %an, %ar%Creset' ll = log --stat --abbrev-commit -[difftool "sourcetree"] - cmd = opendiff \"$LOCAL\" \"$REMOTE\" - path = -[mergetool "sourcetree"] - cmd = /Applications/SourceTree.app/Contents/Resources/opendiff-w.sh \"$LOCAL\" \"$REMOTE\" -ancestor \"$BASE\" -merge \"$MERGED\" - trustExitCode = true +[difftool "Kaleidoscope"] + cmd = ksdiff --partial-changeset --relative-path \"$MERGED\" -- \"$LOCAL\" \"$REMOTE\" [diff] - tool = diffmerge -[difftool "diffmerge"] - cmd = diffmerge \"$LOCAL\" \"$REMOTE\" + tool = Kaleidoscope +[difftool] + prompt = false + +[mergetool "Kaleidoscope"] + cmd = ksdiff --merge --output \"$MERGED\" --base \"$BASE\" -- \"$LOCAL\" --snapshot \"$REMOTE\" --snapshot + trustExitCode = true +[mergetool] + prompt = false [merge] - tool = diffmerge -[mergetool "diffmerge"] - cmd = "diffmerge --merge --result=\"$MERGED\" \"$LOCAL\" \"$(if test -f \"$BASE\"; then echo \"$BASE\"; else echo \"$LOCAL\"; fi)\" \"$REMOTE\"" - trustExitCode = true \ No newline at end of file + tool = Kaleidoscope \ No newline at end of file