Re: pull is not a git command - 1.7.6.4
- From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
- Date
- Oct 25, 2011, 17:01 UTC
- Message-ID
- <vpqr521j98h.fsf@bauges.imag.fr>
- In-Reply-To
- <CAPZPVFanWTpCDO+A0dV4TWUVx-22VjFOdk6f7cmgfU59GqG3sQ@mail.gmail.com>
Eugene Sajine <euguess@gmail.com> writes:
Show 17 quoted lines
> On Tue, Oct 25, 2011 at 12:45 PM, Junio C Hamano <gitster@pobox.com> wrote: > >> Just a wild guess. perhaps you specified prefix=/usr/local/git-1.7.4.1/ >> eons ago when you built and installed 1.7.4.1 like this: >> >> make prefix=/usr/local/git-1.7.4.1 all install >> >> and then you did it differently when you installed 1.7.6.4, e.g. >> >> make all >> make prefix=/usr/local/git-1.7.6.4 install >> >> > > > Are you saying that the first command is more correct? > I will check it.
At build time, Git registers the "exec path" (i.e. where to find git-<command> executables). So, if you run "make all" without specifying the install path, Git will set an arbitrary exec-path, and the installation won't work.
-- Matthieu Moy http://www-verimag.imag.fr/~moy/