http.c
14.4 KB
-
http: don't discard the HEAD ref · aeba5e17
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.
Carlos Martín Nieto committed