[Xfce4-commits] <xfce-git-hooks:master> I really don't get this.

Nick Schermer noreply at xfce.org
Sun Nov 7 19:26:01 CET 2010


Updating branch refs/heads/master
         to 2b05494d9283fa7d0f6078705be33e907b5c3a6f (commit)
       from c3e4892634ace23c208e7d6621a5b6cf3695a8c9 (commit)

commit 2b05494d9283fa7d0f6078705be33e907b5c3a6f
Author: Nick Schermer <nick at xfce.org>
Date:   Sun Nov 7 19:25:32 2010 +0100

    I really don't get this.

 hooks/post-update-03-www-pull |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/hooks/post-update-03-www-pull b/hooks/post-update-03-www-pull
index b25efd2..ff542d1 100755
--- a/hooks/post-update-03-www-pull
+++ b/hooks/post-update-03-www-pull
@@ -2,12 +2,12 @@
 
 case "$REPO" in
   www/wiki.xfce.org)
-    git --git-dir=/var/www/wiki.xfce.org/.git --work-tree=/var/www/wiki.xfce.org pull
-    git --git-dir=/var/www/wiki.xfce.org/.git --work-tree=/var/www/wiki.xfce.org checkout .
+    GIT_DIR=/var/www/wiki.xfce.org/.git git pull
+    GIT_DIR=/var/www/wiki.xfce.org/.git git checkout .
     ;;
 
   www/www.xfce.org)
-    git --git-dir=/var/www/www.xfce.org/.git --work-tree=/var/www/www.xfce.org pull
-    git --git-dir=/var/www/www.xfce.org/.git --work-tree=/var/www/www.xfce.org checkout .
+    GIT_DIR=/var/www/www.xfce.org/.git git pull
+    GIT_DIR=/var/www/www.xfce.org/.git git checkout .
     ;;
 esac



More information about the Xfce4-commits mailing list