First of all, thanks for taking the time to read this and help out.
I'm trying to clone a repository for the first time on a hosting
account that just got setup with Git. However, the problem is that for
some reason there is no git-index-pack. I cannot find any reason that
that one particular command would not be installed, but for some
reason that seems to be the case.
Has anyone ever heard of anything like this? Is my only option to
completely scrap Git and try again?
You may want to study output from "git help --all" to see if there is
anything *else* that is missing. You did not say which version of git you
use, and how it was built and installed with which non-standard options
and in what way, so it is hard to guess what is going on.
$ cd ~root
$ grep 'rm .*index-pack' .history .bash_history
could help locating the cause of breakage, but there are other ways to
How did you install git? From a binary package, from a tarball, from a
clone? If built, how did you build it? Any config.mak options, did you
use ./configure, etc? What version of git is it?
Is it possible for you to strace the clone process to see where it is
trying to find index-pack? Something like:
strace -f -e execve git clone
That might work, but if this is a bug in the build or installation
system, it will be nice to track it down before you scrap the current