On Mon, Nov 12, 2007 at 11:16:08PM -0800, Linus Torvalds wrote: > On Mon, 12 Nov 2007, Linus Torvalds wrote: > > > > I think the real problem is that "TREECHANGE" has the wrong polarity. It > > should default to always being set, and then we could actively clear it > > when we do the work to say "it's the same tree". Instead, we default it to > > being the same (which triggers parent rewriting), and only later may we > > notice that it wasn't the same. > > So, maybe the proper solution is to say "commits are assumed to be > different to their parents, but we have an explicit bit saying TREESAME > when we find them to be the same". FWIW, I like it. I had basically the same patch in my git-rewrite-commits series (except that I called it "PRUNED" instead of "TREESAME"), but I don't think I even sent it to the list, because I was told there was no use. skimo - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html