patchinstall.py: Support --upstream-commit.

This commit is contained in:
Zebediah Figura
2020-05-18 19:12:27 -05:00
parent 4b2ca6b38e
commit bee49c0b29
3 changed files with 12 additions and 0 deletions

5
staging/commit-rebase.sh Executable file
View File

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