new section on data-recovery: getting back lost blobs/index stage


Hi Scott,

I bought your Pro Git book and I think it's a great project. The section of git internals, in particular, I find interesting. It was this section that made me aware that git actually stores every file in the database when you do "git add". I was able to use this knowledge to retrieve a lost file.

This is what I have tried to outline in my very (very) rough draft committed here.

If cleaned up and property structured, do you think this would be a useful section to add to your book?

Let me know what you think, and please get back to me if anything isn't quite clear. If there is interest, I can write it up properly.

Thanks!
Kris