Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-9383][PROJECT-INFRA] PR merge script should reset back to prev…
…ious branch when possible This patch modifies our PR merge script to reset back to a named branch when restoring the original checkout upon exit. When the committer is originally checked out to a detached head, then they will be restored back to that same ref (the same as today's behavior). This is a slightly updated version of apache#7569, with an extra fix to handle the detached head corner-case. Author: Josh Rosen <joshrosen@databricks.com> Closes apache#10709 from JoshRosen/SPARK-9383.
- Loading branch information