Alexandre Philbert 597e198116 RefNames#fullName: Don't prepend "refs/heads/" for HEAD
In I5d9864d7, the need of 'correcting code' for branch refs was reduced
but a bug was introduced.

'refs/heads' would get prepended onto 'HEAD' since the string did not
start with 'refs/'. This resulted in an invalid URL when clicking the
gitweb link in the branches page.

Bug: Issue 4238
Change-Id: Ic27e1306bef04e225a2b349b180878ffec21b312
2016-07-15 16:10:42 +09:00
..