Merge branch 'jk/receive-pack-deadlocks-with-early-failure'
commitf87f7424df3e3fba0b0211c9a7fe78fe1e526802
authorJunio C Hamano <gitster@pobox.com>
Tue, 23 Apr 2013 18:16:50 +0000 (23 11:16 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 23 Apr 2013 18:16:50 +0000 (23 11:16 -0700)
tree066878e0d905e1f92261231cd5ead72234878620
parent118f60ee06612083ff4f1810424e80a3e896f73e
parent49ecfa13fe6fb9ccb7c4771126872515340c328b
Merge branch 'jk/receive-pack-deadlocks-with-early-failure'

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
builtin/receive-pack.c