]> de.git.xonotic.org Git - xonotic/div0-gittools.git/blob - git-update-octopus
when rejecting/unrejecting, say so in the commit message
[xonotic/div0-gittools.git] / git-update-octopus
1 #!/bin/sh
2
3 git log --format=raw | while IFS= read -r L; do
4         case "$L" in
5                 '    Merge branches '*|'    Merge remote branches '*)
6                         b=`echo "$L" | sed -e "s/[^']*'\?\([^']*\)'\?/\1 /g"`
7                         git merge $b
8                         break
9                         ;;
10         esac
11 done