http: don't discard the HEAD ref
The fix for fetching from empty repositories (22935b06 protocol: don't store flushes; 2012-10-07) forgot to take into account the deletion of the flush pkt in the HTTP transport. As a result, the HEAD ref advertisement where we detect the remote's capabilities was deleted instead. Fix this.
Showing
Please
register
or
sign in
to comment