Skip to content

Commit

Permalink
Merge #225: sync-upstream: Use --autostash to handle uncommitted changes
Browse files Browse the repository at this point in the history
13c438c sync-upstream: Use --autostash to handle uncommitted changes (Tim Ruffing)

Pull request description:

  This makes it possible to use sync-upstream with uncommitted changes. (This is in particular helpful when working on the script itself.)

  Without this commit, git pull will fail due to the uncommitted changes.

ACKs for top commit:
  apoelstra:
    utACK 13c438c

Tree-SHA512: c3a2fce68382bf4e769c64bbdc5666a8f4d9cf6f387e7d8af408e9c3e07b4a875205b7cdae9f647b7127128c13ee58effc0045ac5faf5fba2851b38af40439e8
  • Loading branch information
real-or-random committed Apr 17, 2023
2 parents 6ec1ff6 + 13c438c commit f4dd041
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/sync-upstream.sh
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ echo "$BODY"
echo "-----------------------------------"
# Create branch from PR commit and create PR
git checkout master
git pull
git pull --autostash
git checkout -b temp-merge-"$PRNUM"

# Escape single quote
Expand Down

0 comments on commit f4dd041

Please sign in to comment.