[Libreoffice-commits] .: g .gitattributes

Miklos Vajna vmiklos at kemper.freedesktop.org
Wed Mar 16 03:24:03 PDT 2011


 .gitattributes |    2 ++
 g              |    3 +++
 2 files changed, 5 insertions(+)

New commits:
commit 2589385078d97cce3d4466be461980b7ee003441
Author: Miklos Vajna <vmiklos at frugalware.org>
Date:   Sat Mar 12 23:37:38 2011 +0100

    Introduce a single .gitattributes file in bootstrap

diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..416fa8c
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,2 @@
+*.doc binary
+*.sdw binary
diff --git a/g b/g
index a832fd2..7fbf683 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


More information about the Libreoffice-commits mailing list