Merge branch 'jk/receive-pack-deadlocks-with-early-failure'
authorJunio C Hamano <gitster@pobox.com>
Tue, 23 Apr 2013 18:16:50 +0000 (11:16 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 23 Apr 2013 18:16:50 +0000 (11:16 -0700)
When receive-pack detects error in the pack header it received in
order to decide which of unpack-objects or index-pack to run, it
returned without closing the error stream, which led to a hang
sideband thread.

* jk/receive-pack-deadlocks-with-early-failure:
receive-pack: close sideband fd on early pack errors

1  2 
builtin/receive-pack.c
Simple merge