From 4daf3588f9130eb18d5f4de95f36027c36f1667d Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Mon, 16 Mar 2009 17:45:43 +0100 Subject: [PATCH] git: No need to create .gitignore. Just use gitignore in this directory. --- gitconfig.m4 | 2 +- setup.sh | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/gitconfig.m4 b/gitconfig.m4 index 51b5946..4fec077 100644 --- a/gitconfig.m4 +++ b/gitconfig.m4 @@ -7,7 +7,7 @@ [core] editor = vim - excludesfile = HOME/.gitignore + excludesfile = GITIGNORE [alias] # Shortcuts for often used commands. diff --git a/setup.sh b/setup.sh index 283a8ee..a530d1f 100755 --- a/setup.sh +++ b/setup.sh @@ -6,11 +6,10 @@ . ../lib.sh # Generate gitconfig. -m4 gitconfig -DHOME=$HOME -DOS=`os` +m4 gitconfig -DGITIGNORE=`pwd`/gitignore -DOS=`os` # Link setup. link gitconfig ~/.gitconfig -link gitignore ~/.gitignore if installed hg; then link hgrc ~/.hgrc link hgignore ~/.hgignore -- 2.44.2