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

Re: [PATCH] howto: document more tools for recovery corruption

From
Jeff King <peff@peff.net>
Date
Apr 2, 2015, 00:49 UTC
Message-ID
<20150402004955.GA25634@peff.net>
In-Reply-To
<xmqq4mozmqw3.fsf@gitster.dls.corp.google.com>
On Wed, Apr 01, 2015 at 03:21:16PM -0700, Junio C Hamano wrote:
Show 11 quoted lines
> Jeff King <peff@peff.net> writes:
> 
> > Long ago, I documented a corruption recovery I did and gave
> > some C code that I used to help find a flipped bit.  I had
> > to fix a similar case recently, and I ended up writing a few
> > more tools.  I hope nobody ever has to use these, but it
> > does not hurt to share them, just in case.
> 
> I am having a hard time deciding if I should take the Date: header
> of the patch e-mail into consideration.  The munge thing looks
> serious enough, though.

Heh, no, this is sadly a serious thing that I did today (but I was able to detect and correct a single flipped bit in a 60MB packfile, which is kind of neat, I guess).

I hesitated sending them at all because they are not really note-worthy. OTOH, during today's exercise I found the instructions and sample program I had written last time to be very useful, so perhaps it can help somebody (or even me) at some later today.

-Peff
Previous: Junio C Hamano
Message 16 of 16 in “pack corruption post-mortem”
  1. Jeff KingOct 16, 2013
  2. Duy NguyenOct 16, 2013
  3. Martin FickOct 16, 2013
  4. Jeff KingOct 17, 2013
  5. Junio C HamanoOct 17, 2013
  6. Jeff KingOct 25, 2013
  7. Duy NguyenOct 17, 2013
  8. Duy NguyenOct 19, 2013
  9. Nicolas PitreOct 19, 2013
  10. Shawn PearceOct 19, 2013
  11. Nicolas PitreOct 20, 2013
  12. Duy NguyenOct 20, 2013
  13. Nicolas PitreOct 20, 2013
  14. howto: document more tools for recovery corruptionJeff King, Apr 1, 2015
  15. Junio C HamanoApr 1, 2015
  16. Jeff KingApr 2, 2015

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.