GitHub user JoshRosen opened a pull request:

    https://github.com/apache/spark/pull/10709

    [SPARK-9383][PROJECT-INFRA] PR merge script should reset back to previous 
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 #7569, with an extra fix to handle 
the detached head corner-case.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/JoshRosen/spark SPARK-9383

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/10709.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #10709
    
----
commit 05aa93cd539f22e490f71b8dd620d5a0a667933b
Author: Josh Rosen <[email protected]>
Date:   2016-01-11T21:51:12Z

    [SPARK-9383] Have PR merge script reset back to previous branch when 
possible.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to