diff options
| author | Johannes Sixt <johannes.sixt@telecom.at> | 2007-10-19 21:47:59 +0200 |
|---|---|---|
| committer | Shawn O. Pearce <spearce@spearce.org> | 2007-10-21 01:30:40 -0400 |
| commit | cc41fa8da9b9e9d23221d3be47a80409a89732d4 (patch) | |
| tree | aa54f96da510a2ea5bc5db48d7f728ce49c239d9 /commit.c | |
| parent | Have start_command() create a pipe to read the stderr of the child. (diff) | |
| download | git-cc41fa8da9b9e9d23221d3be47a80409a89732d4.tar.gz git-cc41fa8da9b9e9d23221d3be47a80409a89732d4.zip | |
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>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions
