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, 09:47 UTC
Message-ID
<4A1E5DBC.2090908@drmicha.warpmail.net>
In-Reply-To
<46a038f90905280234h35b9b90fwfc52434cd056578e@mail.gmail.com>
Martin Langhoff venit, vidit, dixit 28.05.2009 11:34:
Show 14 quoted lines
> On Thu, May 28, 2009 at 10:29 AM, Michael J Gruber
> <git@drmicha.warpmail.net> wrote:
>> Yes, but your shell seems to find git-diff somewhere, so what about:
>>
>> type --all git-diff
>> echo $PATH
> 
> $ type --all git-diff
> bash: type: git-diff: not found
> $ echo $PATH
> /home/martin/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
> 
> there is _no other_ git-diff. It's bash magic. See
> http://popey.com/command_not_found

This is insane. Don't they even distinguish between an interactive shell and a non-interactive one?

Show 10 quoted lines
> 
> Note that all the key commands work. I clone, diff, commit, push,
> merge daily on this 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.
> 
> Might be. Maybe ~/bin got cleaned up but not libexec? Or the bisecting
> back-and-forth left stray bits in ~/bin?

Well, I would say go "find / git-diff-index", or simply nuke anything git you find and do a clean install... "find"ing the left over bits would help making sure that git's own search path is OK.

Michael
Previous: Martin LanghoffNext: Martin Langhoff
Message 7 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.