[X2go-Commits] buildscripts.git - master (branch) updated: afb2b22095cbfbf5aeb04aefc224e0bb1bf21919

X2go dev team git-admin at x2go.org
Tue Jan 10 16:06:32 CET 2012


The branch, master has been updated
       via  afb2b22095cbfbf5aeb04aefc224e0bb1bf21919 (commit)
      from  82fc49ba4b31b5e36f9a80b0e787c3129dd33483 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit afb2b22095cbfbf5aeb04aefc224e0bb1bf21919
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Tue Jan 10 16:05:26 2012 +0100

    update to HEAD by default

-----------------------------------------------------------------------

Summary of changes:
 bin/updatebuildmain |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

The diff of changes is:
diff --git a/bin/updatebuildmain b/bin/updatebuildmain
index f4f4917..1aca5e1 100755
--- a/bin/updatebuildmain
+++ b/bin/updatebuildmain
@@ -20,7 +20,7 @@
 set -e
 
 GITPROJECT=$(basename $(pwd))
-REF=$1
+REF=${1-HEAD}
 
 # we need to be within a working copy (base folder) and we need a <REF>!!!
 test -z $1 || test -d ./.git || {
@@ -30,5 +30,6 @@ test -z $1 || test -d ./.git || {
 }
 
 # update the build-main branch with our newest blessed reference
+git branch -D build-main &>/dev/null || true
 git branch build-main &>/dev/null || true
 git push origin $REF:build-main


hooks/post-receive
-- 
buildscripts.git (buildscripts upstream project)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "buildscripts.git" (buildscripts upstream project).




More information about the x2go-commits mailing list