7 data/xonotic-data.pk3dir
8 data/xonotic-maps.pk3dir
9 data/xonotic-music.pk3dir
22 base=`git config remote.origin.url`
23 base=${base%xonotic.git}
25 if [ -d "$d0/$d" ]; then
31 git config remote.origin.url "$base${d##*/}.git"
37 git clone "$base${d##*/}.git" "$d0/$d"
44 if [ -z "$branch" ]; then
51 if git rev-parse "refs/heads/$branch" >/dev/null 2>&1; then
53 git checkout "$branch"
54 elif git rev-parse "refs/remotes/$remote/$branch" >/dev/null 2>&1; then
56 git checkout --track -b "$branch" "$remote/$branch"
67 if [ -z "$branch" ]; then
71 if [ -z "$branch" ]; then
74 r=`git symbolic-ref HEAD`
83 while [ x"$a" != x"y" -a x"$a" != x"n" ]; do
87 if [ x"$a" = x"y" ]; then
88 git push "$remote" HEAD:"$branch"
89 git checkout --track -b "$branch" "$remote/$branch"
100 git branch -a | sed 's/^/ /'
107 r=`git symbolic-ref HEAD`
110 if git log "origin/$r".."$r" | grep .; then
111 while [ x"$a" != x"y" -a x"$a" != x"n" ]; do
112 echo "Push $r in $d?"
115 if [ x"$a" = x"y" ]; then
116 git push `git config "branch.$r.remote" || echo origin` HEAD