upload-pack: Use start_command() to run pack-objects in create_pack_file().
commitcc41fa8da9b9e9d23221d3be47a80409a89732d4
authorJohannes Sixt <johannes.sixt@telecom.at>
Fri, 19 Oct 2007 19:47:59 +0000 (19 21:47 +0200)
committerShawn O. Pearce <spearce@spearce.org>
Sun, 21 Oct 2007 05:30:40 +0000 (21 01:30 -0400)
treeaa54f96da510a2ea5bc5db48d7f728ce49c239d9
parentf3b33f1d220056243d3c1da154d3859410630189
upload-pack: Use start_command() to run pack-objects in create_pack_file().

This gets rid of an explicit fork/exec.

Since upload-pack has to coordinate two processes (rev-list and
pack-objects), we cannot use the normal finish_command(), but have to
monitor the processes explicitly. Hence, the waitpid() call remains.

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