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

Recovering from epic fail (deleted .git/objects/pack)

From
RBR. Tyler Ballance <tyler@slide.com>
Date
Dec 10, 2008, 00:11 UTC
Message-ID
<1228867861.14165.19.camel@starfruit.local>

I really wish I didn't have to ask this question, as we discussed in #git early this morning, whiskey is the likely answer.

For unexplainable reasons one of our sysadmins got trigger-happy when he tried to prune a temp_pack file generated and left in a developer's .git/ directory after a git operation aborted (disk quota exceeded)

As a result, the sysadmin killed the developers entire .git/objects/pack/ directory. (insert copious amounts of whiskey here)

He did not however delete all the other contents of .git/objects (00/, 01/, etc)

Is there a feasible way that I can properly recover the .git/objects/pack directory such that the developer who had their last two weeks of local work thrashed can get it back?

Anything that can help (other than pummeling the sysadmin) would be appreciated

Cheers
-- 
-R. Tyler Ballance
Slide, Inc.
Next: Junio C Hamano
Message 1 of 22 in “Recovering from epic fail (deleted .git/objects/pack)”
  1. R. Tyler BallanceDec 10, 2008
  2. Junio C HamanoDec 10, 2008
  3. R. Tyler BallanceDec 10, 2008
  4. Johannes SixtDec 10, 2008
  5. epic fsck SIGSEGV! (was Recovering from epic fail (deleted .git/objects/pack))R. Tyler Ballance, Dec 10, 2008
  6. Linus TorvaldsDec 10, 2008
  7. R. Tyler BallanceDec 11, 2008
  8. Linus TorvaldsDec 11, 2008
  9. R. Tyler BallanceDec 11, 2008
  10. Junio C HamanoDec 11, 2008
  11. Boyd Stephen Smith Jr.Dec 11, 2008
  12. Shawn O. PearceDec 11, 2008
  13. Nicolas PitreDec 11, 2008
  14. Junio C HamanoDec 11, 2008
  15. Nicolas PitreDec 11, 2008
  16. Linus TorvaldsDec 11, 2008
  17. Linus TorvaldsDec 11, 2008
  18. Junio C HamanoDec 11, 2008
  19. Linus TorvaldsDec 11, 2008
  20. Linus TorvaldsDec 11, 2008
  21. Junio C HamanoDec 11, 2008
  22. Boyd Stephen Smith Jr.Dec 11, 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.