author | Björn Steinbrink <B.Steinbrink@gmx.de> | |
Mon, 3 Mar 2008 04:08:43 +0000 (05:08 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 3 Mar 2008 04:58:19 +0000 (20:58 -0800) | ||
commit | 5c09f321729c2f1ce6718a0cfefa5e647fa808fc | |
tree | 18aab23fa5fa58b60df19c69d7ea9ab5aa476fff | tree | snapshot |
parent | 84989bd820119260c4fcd0dd5ee8a50bc8ff0d2c | commit | diff |
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>
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 | diff | blob | history |