diff options
author | Miklos Vajna <vmiklos@frugalware.org> | 2011-03-12 23:37:38 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@frugalware.org> | 2011-03-16 11:08:46 +0100 |
commit | e175056684aed02597ab8117b22e89ef0c3a5173 (patch) | |
tree | d07011c8bc789405d43a015c316189ba7137d49e | |
parent | 34654ef6e65b9264af7727005cae67967e3ff005 (diff) |
Introduce a single .gitattributes file in bootstrap
-rw-r--r-- | .gitattributes | 2 | ||||
-rwxr-xr-x | g | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 000000000000..416fa8c63b14 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +*.doc binary +*.sdw binary @@ -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 |