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

Re: Strangely hosed git install

From
Michael J Gruber <git@drmicha.warpmail.net>
Date
May 28, 2009, 08:29 UTC
Message-ID
<4A1E4B82.9040809@drmicha.warpmail.net>
In-Reply-To
<46a038f90905280022s1c07565bnf26335fccf7c7e94@mail.gmail.com>
Martin Langhoff venit, vidit, dixit 28.05.2009 09:22:
Show 7 quoted lines
> On Thu, May 28, 2009 at 9:18 AM, Junio C Hamano <gitster@pobox.com> wrote:
>> "type --all git"?
>> "git --exec-path"?
>> "ls $(git --exec-path)"?
>>
> 
> It all looks fairly correct to me:
Yes, but your shell seems to find git-diff somewhere, so what about:

type --all git-diff echo $PATH

In any case, Ubuntu seems to do something strange about binaries which used to be installed. How can "git-diff" trigger a message about "apt-get install git-core"?

For sure it does the same strange thing for everything else which used to be in your PATH, and this makes current stash, gc etc. fail when trying to call git-pack-objects and such. A "/usr/bin time machine"???

OTOH: The git-pack-objects usage line indicates that you clearly have
older plumbing lying around. I suspect there are at least 2 issues on
that box.
Michael
Previous: Martin LanghoffNext: Martin Langhoff
Message 4 of 8 in “Strangely hosed git install”
  1. Martin LanghoffMay 28, 2009
  2. Junio C HamanoMay 28, 2009
  3. Martin LanghoffMay 28, 2009
  4. Michael J GruberMay 28, 2009
  5. Martin LanghoffMay 28, 2009
  6. Martin LanghoffMay 28, 2009
  7. Michael J GruberMay 28, 2009
  8. Martin LanghoffMay 28, 2009

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.