From: Junio C Hamano Date: Mon, 15 Sep 2008 19:34:07 GMT Subject: Re: [PATCH] help git-upload-pack find git Message-ID: <7vzlm9b3v4.fsf@gitster.siamese.dyndns.org> In-Reply-To: <1221495891-12600-1-git-send-email-git@drmicha.warpmail.net> Michael J Gruber writes: > The corresponding bug was reported by Paul Johnston who wondered why > "git clone" failed when specifying --upload-pack for an out-of-$PATH > installation of git. I'm not sure whether we should encourage this, but > the --upload-pack option clearly gives the impression that > git-upload-pack is all that is needed. Another possibility would be to teach exec_cmd.c:setup_path() to add the directory specified by $(bindir) to PATH after we add GIT_EXEC_PATH to it. That should cover the case David Miller reported, shouldn't it?