gitlabhq/gitlabhq — pull request #5760 by dermoth (2013-12-04 23:18:30+00:00)
Title: Fix HTTP push to public repos

When doing an HTTP push, git (as of v1.7.9) first do an info/refs
request, and only if this request requires authentication it asks the
user for its password and authenticates further requests.

The initial request normally clears without auth on public repos as it
doesn't update any ref. This patch forces every git-receive-pack to
provide authentication.