Fix cherrypull.sh

(cherry picked from commit ee08168203ae4c2d08178e05a932613ade6489ed)
This commit is contained in:
condret 2014-08-29 16:30:36 +02:00
parent ae46f09c35
commit f4fd1e7ec6
1 changed files with 2 additions and 2 deletions

View File

@ -13,12 +13,12 @@ if [ -z "$N" ]; then
fi
git branch -D branch
git co -b branch
git checkout -b branch
git reset --hard @~100
git pull $RR $RB
C=`git log | grep ^commit | head -n $N | cut -d ' ' -f2`
RC=""
git co master
git checkout master
for a in $C ; do
RC="$a $RC"
done