diff options
-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 |