From 56ee1004c09bfc6bd5174b09da3401e28b3dca3b Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sun, 1 Mar 2009 16:34:33 +0100 Subject: [PATCH] git: Use opendiff as merge tool on Mac OS X. --- gitconfig.m4 | 5 +++++ setup.sh | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gitconfig.m4 b/gitconfig.m4 index c9be20a..51b5946 100644 --- a/gitconfig.m4 +++ b/gitconfig.m4 @@ -20,4 +20,9 @@ # Custom commands. glog = log --pretty=oneline --graph --all +[merge] +IF(OS, darwin) + tool = opendiff +FI + # vim: ft=gitconfig diff --git a/setup.sh b/setup.sh index 965485c..6d94fb7 100755 --- a/setup.sh +++ b/setup.sh @@ -4,7 +4,7 @@ . ../lib.sh # Generate gitconfig. -m4 gitconfig -DHOME=$HOME +m4 gitconfig -DHOME=$HOME -DOS=`os` # Link setup. link gitconfig ~/.gitconfig -- 2.45.2