From e175056684aed02597ab8117b22e89ef0c3a5173 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Sat, 12 Mar 2011 23:37:38 +0100 Subject: Introduce a single .gitattributes file in bootstrap --- g | 3 +++ 1 file changed, 3 insertions(+) (limited to 'g') diff --git a/g b/g index a832fd2ee604..7fbf6834764d 100755 --- a/g +++ b/g @@ -35,6 +35,9 @@ function update_hooks() if [ -z "$(git config push.default)" ] ; then git config push.default tracking fi + if [ "$PWD" != "$RAWBUILDDIR" -a ! -e .gitattributes ]; then + ln -s $RAWBUILDDIR/.gitattributes . + fi } # extra params for some commands, like log -- cgit v1.2.3