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

How to fetch missing pack

From
JSJörg Sommer <joerg@alea.gnuu.de>
Date
Apr 12, 2008, 12:07 UTC
Message-ID
<slrng019fg.nd8.joerg@alea.gnuu.de>
Hi,

I'm missing a pack. My history of the git repository is broken: % git show --pretty=raw e0fda6ab|head -7 commit e0fda6abd11c567b72f29ec0ee06c541404a9cb7 tree 77a7e4a849bbec646d88ae863f80ea3f519e26bd parent 1ab58e8d6f728cdde0057f7ee88daab3a1c2d06f author Wincent Colaiuta <win@wincent.com> 1196066088 +0100 committer Junio C Hamano <gitster@pobox.com> 1196109124 -0800

    Fix typo in draft 1.5.4 release notes
% git log --pretty=oneline e0fda6ab | wc -l
1
% git show e0fda6ab~1|cat
fatal: ambiguous argument 'e0fda6ab~1': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions

Can I somehow tell git fetch to check the whole history for holes and fetch missing packs?

Bye, Jörg.
-- 
Der kommt den Göttern am nächsten, der auch dann schweigen kann,
wenn er im Recht ist.                         (Cato; 234–149 v. Chr.)
Next: Peter Baumann
Message 1 of 10 in “How to fetch missing pack”
  1. Jörg SommerApr 12, 2008
  2. Peter BaumannApr 13, 2008
  3. Jörg SommerApr 23, 2008
  4. Christian CouderApr 24, 2008
  5. Shawn O. PearceApr 24, 2008
  6. git doesn't finds the parent of a commit (was: How to fetch missing pack)Jörg Sommer, Apr 27, 2008
  7. Stephen R. van den BergApr 27, 2008
  8. Junio C HamanoApr 27, 2008
  9. Stephen R. van den BergApr 27, 2008
  10. Jörg SommerApr 28, 2008

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.