should git download missing objects?
- From
- Anand Kumria <wildfire@progsoc.org>
- Date
- Nov 12, 2006, 15:44 UTC
- Message-ID
- <ej7fgp$8ca$1@sea.gmane.org>
Hi,
I did an initial clone of Linus' linux-2.6.git tree, via the git protocol, and then managed to accidently delete one of the .pack and corresponding .idx files.
I thought that 'cg-fetch' would do the job of bring down the missing pack again, and all would be well. Alas this isn't the case.
<http://pastebin.ca/246678>
Pasky, on IRC, indicated that this might be because git-fetch-pack isn't downloading missing objects when the git:// protocol is being used.
Should it? Is there a magic invocation of git fetch I can use to fix this up. I can always re-clone completely (since this is just a tracking repo) but it would be nice to fix this with the tools themselves.
Any hints?
Thanks, Anand