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