Issue 2423: Remote HEAD ignored when cloning
Status:  New
Owner: ----
Reported by neil_may...@sil.org, Jan 23, 2014
Affected Version: 2.6.1

What steps will reproduce the problem?
1. Change HEAD using: git symbolic-ref HEAD refs/heads/develop 
2. Restart gerrit
3. Clone via ssh
4. git branch

What is the expected output? What do you see instead?
Expect:  git branch => * develop
Instead: git branch => * master

Please provide any additional information below.
1. Cloning using the git: protocol via git-daemon serving the same repo produces the expected result.
2. With gerrit, git remote set-head origin -a gives "error: Multiple remote HEAD branches."
3. With git-daemon, git remote set-head origin -a gives "origin/HEAD set to develop"