When trying to release from a checked out branch which is pointing to the same commit as another branch, there is a possibility that the name of the other branch is used.
This is because git-name-rev is used for finding current branch, but it does not handle this case correctly all the time. Use git-symbolic-ref instead.
When trying to release from a checked out branch which is pointing to the same commit as another branch, there is a possibility that the name of the other branch is used.
This is because
git-name-rev
is used for finding current branch, but it does not handle this case correctly all the time. Usegit-symbolic-ref
instead.