upload-pack: Run rev-list in an asynchronous function.
authorJohannes Sixt <johannes.sixt@telecom.at>
Fri, 19 Oct 2007 19:48:03 +0000 (21:48 +0200)
committerShawn O. Pearce <spearce@spearce.org>
Sun, 21 Oct 2007 05:30:42 +0000 (01:30 -0400)
commit21edd3f197df80e9493233a3b9849b61764ebf46
treed7c5c4cb1a5344273636d00a21f13f0eb1d9d32c
parent80ccaa78a8b95ad3b4f6e24dc35a9aa3cae5fd86
upload-pack: Run rev-list in an asynchronous function.

This gets rid of an explicit fork().

Since upload-pack has to coordinate two processes (rev-list and
pack-objects), we cannot use the normal finish_async(), but have to monitor
the process explicitly. Hence, there are no changes at this front.

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