Re: [PATCH] howto: document more tools for recovery corruption
From: Jeff King <hidden>
Date: 2016-06-15 23:04:20
On Wed, Apr 01, 2015 at 03:21:16PM -0700, Junio C Hamano wrote:
Jeff King [off-list ref] writes:quoted
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