git/list[1] front-page[2] threads[3] people[4] search[5] about
 

should git download missing objects?

From
AKAnand 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

Next: Junio C Hamano
Message 1 of 10 in “should git download missing objects?”
  1. Anand KumriaNov 12, 2006
  2. Junio C HamanoNov 12, 2006
  3. Alex RiesenNov 13, 2006
  4. Shawn PearceNov 13, 2006
  5. Petr BaudisNov 13, 2006
  6. Shawn PearceNov 13, 2006
  7. Junio C HamanoNov 13, 2006
  8. Petr BaudisNov 14, 2006
  9. Junio C HamanoNov 13, 2006
  10. Alex RiesenNov 13, 2006

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.