Add a spawnv_git_cmd() function and use it in fetch-pack.c.
commitc84f02153b70b80a7463c3bea255e773d8f5cb8f
authorJohannes Sixt <johannes.sixt@telecom.at>
Thu, 18 Jan 2007 17:07:44 +0000 (18 18:07 +0100)
committerJohannes Sixt <johannes.sixt@telecom.at>
Fri, 19 Jan 2007 15:35:55 +0000 (19 16:35 +0100)
treeb2e8e49f951b98b6ac480cbfc7030853e99401cb
parentc823cea00ef2b5e14457efe437db3a4aefe75667
Add a spawnv_git_cmd() function and use it in fetch-pack.c.

This function is intended to be used in place of exec[vl]_git_cmd() that
follows a fork.  It constructs the (at most) 3 paths that execv_git_cmd()
searches manually for the git command and hands them over to
spawnvppe_pipe().

The use case in get_pack() is one of the simplest possible.
exec_cmd.c
exec_cmd.h
fetch-pack.c