Code

receive-pack: Initialize PATH to include exec-dir.
authorBjörn Steinbrink <B.Steinbrink@gmx.de>
Mon, 3 Mar 2008 04:08:43 +0000 (05:08 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 3 Mar 2008 04:58:19 +0000 (20:58 -0800)
commit5c09f321729c2f1ce6718a0cfefa5e647fa808fc
tree18aab23fa5fa58b60df19c69d7ea9ab5aa476fff
parent84989bd820119260c4fcd0dd5ee8a50bc8ff0d2c
receive-pack: Initialize PATH to include exec-dir.

511707d (use only the $PATH for exec'ing git commands) made it a
requirement to call setup_path() to include the git exec-dir in PATH
before spawning any other git commands. git-receive-pack was not yet
adapted to do this and therefore fails to spawn git-unpack-objects if that
is not in the standard PATH.

Signed-off-by: Björn Steinbrink <B.Steinbrink@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
receive-pack.c