Package: git-core
Version: 1:1.5.3.8-1
Severity: normal

% echo $PATH
/home/adeodato/bin:/usr/local/bin:/usr/bin:/bin:/usr/games

% which ssh
/home/adeodato/bin/ssh

% git pull
Enter passphrase for key '/home/adeodato/.ssh/id_rsa':

This spawns a process like:

adeodato 21042  0.0  0.4   4908  2136 pts/19   S+   12:49   0:00 ssh 
alioth.debian.org git-upload-pack '/git/tools-release/release.git'

% ls -l /proc/21042/exe
lrwxrwxrwx 1 adeodato adeodato 0 Jan 17 12:51 /proc/21042/exe -> /usr/bin/ssh


I think git should honour $PATH when spawning processes.

-- 
Adeodato Simó                                     dato at net.com.org.es
Debian Developer                                  adeodato at debian.org
 
Every program has at least one bug and can be shortened by at least one
instruction -- from which, by induction, one can deduce that every
program can be reduced to one instruction which doesn't work.



Reply via email to