From: Denis Bueno Date: Tue, 10 Jun 2008 20:28:43 GMT Subject: Re: Recovering from repository corruption Message-ID: <6dbd4d000806101328k1fc913f2ia55c3e44273ec5ad@mail.gmail.com> In-Reply-To: On Tue, Jun 10, 2008 at 16:23, Linus Torvalds wrote: > > > On Tue, 10 Jun 2008, Denis Bueno wrote: >> >> You're onto something: >> >> [dorothy.local /tmp <16:02:08>] >> tmp[176] > git clone file:///Volumes/work/identity.fb/ > > [ successful ] > > Hmm. Scary. That should *not* have been successful with a corrupt repo. > > Unless you have done a .grafts file to hide the corruption, or something > like that? I intended to do that, yes, and I think I was successful. (I only say I "intended to" --- instead of "I did" --- because I read the documentation for the grafts file elsewhere on this list, and not in some more "blessed" location.) > Have you saved away the original corrupt repo (the whole .git directory as > a tar-ball, for example)? And is the data public and non-embarrassing > enough so that you could make it available for some post-corruption > analysis? Even if we cannot help recover it, real-life corruption is > always interesting to see if only as a test-case to make sure that git > notices it as quickly as possible. I do have bunches of personal information in the repo, unfortunately. The particular *file* involved in the corruption, however, is fine for all to view. Is that useful? -- Denis