author | Johannes Sixt <johannes.sixt@telecom.at> | |
Fri, 19 Oct 2007 19:47:59 +0000 (21:47 +0200) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Sun, 21 Oct 2007 05:30:40 +0000 (01:30 -0400) | ||
commit | cc41fa8da9b9e9d23221d3be47a80409a89732d4 | |
tree | aa54f96da510a2ea5bc5db48d7f728ce49c239d9 | tree | snapshot |
parent | f3b33f1d220056243d3c1da154d3859410630189 | commit | diff |
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>
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 | diff | blob | history |