gitlabhq/gitlabhq — pull request #2572 by Olipro (2013-01-13 03:17:31+00:00)
Title: Projects/Gitolite: Make the default branch the real default.

Gitlab will now tell gitolite to update the HEAD pointer over ssh using
the symbolic-ref command - this ensures that when performing a git
clone, the branch you receive if none is specified will actually be the
one you configured as default.

This also resolves breakage when your repo lacks any branch named
"master.

For this to function, you MUST also apply Git commit 048a1918ff to your
gitolite installation and enable the command in your .gitolite.rc