Git - index-pack missing

Previous thread: How do I..? by Dylan Martin on Wednesday, December 17, 2008 - 4:16 pm. (3 messages)

Next thread: rsync deprecated? by Markus Heidelberg on Wednesday, December 17, 2008 - 4:41 pm. (7 messages)
From: Michael Boutros
Date: Wednesday, December 17, 2008 - 4:40 pm

Greetings all,

First of all, thanks for taking the time to read this and help out.  
The problem:

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?

Thanks,
Michael Boutros
--

From: Junio C Hamano
Date: Wednesday, December 17, 2008 - 8:15 pm

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.

Perhaps:

	$ cd ~root
        $ grep 'rm .*index-pack' .history .bash_history

could help locating the cause of breakage, but there are other ways to

Not me.
--

From: Jeff King
Date: Wednesday, December 17, 2008 - 8:16 pm

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
setup.

-Peff
--

Previous thread: How do I..? by Dylan Martin on Wednesday, December 17, 2008 - 4:16 pm. (3 messages)

Next thread: rsync deprecated? by Markus Heidelberg on Wednesday, December 17, 2008 - 4:41 pm. (7 messages)