Jeff King <peff@xxxxxxxx> writes: >> Mph. We could get the best of both worlds by introducing a "git >> rev-parse --compare <a> <b>" that compares object ids. Actually... >> >> How about something like this? > > Thanks. I had in my head that we could do something like that, but > hadn't quite worked it out. I think what you wrote works. But wouldn't "diff-tree --quiet" essentially be that command? > If you want to wrap it up into a patch, I'd be OK with it, but note that > it still falls afoul of changing $tree in a user-visible way (so you > should note that in the commit message). Yes, I think we should take your conservative variant for that exact reason. -- 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