Introduce a single .gitattributes file in bootstrap

This commit is contained in:
Miklos Vajna
2011-03-12 23:37:38 +01:00
parent 34654ef6e6
commit e175056684
2 changed files with 5 additions and 0 deletions

2
.gitattributes vendored Normal file
View File

@@ -0,0 +1,2 @@
*.doc binary
*.sdw binary

3
g
View File

@@ -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