git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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/
Previous: Eugene SajineNext: Eugene Sajine
Message 6 of 7 in “pull is not a git command - 1.7.6.4”
  1. Eugene SajineOct 25, 2011
  2. Matthieu MoyOct 25, 2011
  3. Eugene SajineOct 25, 2011
  4. Junio C HamanoOct 25, 2011
  5. Eugene SajineOct 25, 2011
  6. Matthieu MoyOct 25, 2011
  7. Eugene SajineOct 25, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.