Update commit-rebase.sh

Make it work when tree already has patches applied.
This commit is contained in:
Alistair Leslie-Hughes 2020-05-28 08:03:36 +10:00
parent 76f206526a
commit 9ff4e2dc44

View File

@ -1,5 +1,5 @@
#!/bin/sh
sha=`git -C ./staging/wine/ rev-parse HEAD`
sha=`git -C ./staging/wine/ rev-parse origin/master`
echo $sha > ./staging/upstream-commit
git commit -am "Rebase against $sha."