On Tue, Jul 24, 2018 at 05:13:36PM +0200, Duy Nguyen wrote: > I guess you have the starting points you need after Jeff's and Junio's > explanation (and it would be great if cache-tree could actually be for > for this two-way merge). But to make it easier for new people in > future, maybe we should add this? > > This is basically a ripoff of Junio's explanation with starting points > (write-tree and index-format.txt). I wanted to incorporate some pieces > from Jeff's too but I think Junio's already covered it well. > > -- 8< -- > Subject: [PATCH] cache-tree.h: more description of what it is and what's it used for There is some discussion of this extension in Documentation/technical/index-format.txt. But it's mostly the mechanical bits, not how or why you would use it. I like the idea of putting this explanation into the repo, though a lot of it is pretty specific to "diff-index --cached", which could potentially grow stale. -Peff