Use the asyncronous function infrastructure in builtin-fetch-pack.c.
commit088fab5fc48ebb8b476c3b32dd25df3aa4236f94
authorJohannes Sixt <johannes.sixt@telecom.at>
Fri, 19 Oct 2007 19:48:01 +0000 (19 21:48 +0200)
committerShawn O. Pearce <spearce@spearce.org>
Sun, 21 Oct 2007 05:30:41 +0000 (21 01:30 -0400)
tree83d469cce01de3986b4e48dd82867cd88c9f3afe
parent2d22c208304156892fd6674e0055a3212c1e2d2e
Use the asyncronous function infrastructure in builtin-fetch-pack.c.

We run the sideband demultiplexer in an asynchronous function.

Note that earlier there was a check in the child process that closed
xd[1] only if it was different from xd[0]; this test is no longer needed
because git_connect() always returns two different file descriptors
(see ec587fde0a76780931c7ac32474c8c000aa45134).

Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
builtin-fetch-pack.c