diff options
author | Sven Gothel <[email protected]> | 2011-12-19 18:06:33 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-12-19 18:06:33 +0100 |
commit | fd7af82412eb3fc772a58e7ee0a54b5be7bc082f (patch) | |
tree | 53a0260400772ef42f3a8b738efd5462a59d0ba2 /git/git-jogamp-do-branches.sh | |
parent | 2b896bb23fc3218f1d94eae93f1fb0ee6d613743 (diff) |
Update git tar changelog scripts; Add jogamp clone/do-branches scripts
Diffstat (limited to 'git/git-jogamp-do-branches.sh')
-rwxr-xr-x | git/git-jogamp-do-branches.sh | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/git/git-jogamp-do-branches.sh b/git/git-jogamp-do-branches.sh new file mode 100755 index 0000000..7929074 --- /dev/null +++ b/git/git-jogamp-do-branches.sh @@ -0,0 +1,26 @@ +#! /bin/sh + +branchfile=$1 +shift +remote=$1 +shift + +if [ -z "$branchfile" -o -z "$remote" ] ; then + echo Usage $0 branchfile remote + echo branchfile containing branchnames without ref path + echo remote is your remote repo + exit 1 +fi + +for j in gluegen joal joal-demos jocl jocl-demos jogl jogl-demos ; do + cd $j + echo + echo MODULE $j + echo + for i in `cat $branchfile` ; do + git checkout --track -b $i $remote/$i + git checkout master + # git branch -r -D $i + done + cd .. +done |