GitHub user ijuma opened a pull request:
https://github.com/apache/kafka/pull/84
KAFKA-2328; merge-kafka-pr.py script should not leave user in a detached
branch
The right command to get the branch name is `git rev-parse --abbrev-ref
HEAD` instead of `git rev-parse HEAD`. The latter gives the commit hash causing
a detached branch when we checkout to it. Seems like a bug we inherited from
the Spark script.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ijuma/kafka
kafka-2328-merge-script-no-detached-branch
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/kafka/pull/84.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 #84
----
commit ae201dd5ef934443fe11b98294f17b7ddd9d6d72
Author: Ismael Juma <[email protected]>
Date: 2015-07-17T16:29:16Z
KAFKA-2328; merge-kafka-pr.py script should not leave user in a detached
branch
----
---
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.
---