git-r3.eclass: Remove unnecessary HEAD->branch mapping code, #524146
authorMichał Górny <mgorny@gentoo.org>
Fri, 3 Oct 2014 21:19:39 +0000 (23:19 +0200)
committerMichał Górny <mgorny@gentoo.org>
Thu, 26 May 2016 08:58:08 +0000 (10:58 +0200)
commit0b92ce7546729284ffdca21d5e6b1658b187b870
tree7b5a6e6aaebb4aec5c95999c7e5584eb63a1add1
parent66ad37b2fab769c63c91a617ae964033fd284e04
git-r3.eclass: Remove unnecessary HEAD->branch mapping code, #524146

Remove the code responsible for recognizing which branch HEAD pointed
out to since it was unsafe and unnecessarily complex. A proper match is
not really necessary since all operations can be safely performed on
an opaque 'HEAD' (or rather refs/git-r3/HEAD since fetching to HEAD
directly breaks git a bit).
eclass/git-r3.eclass