> > git rev-list ^HEAD --no-walk commit1 commit2 ... > > Does not seem to work. But I'd be interested if you find a variant that > does as it's very fast. I've been using the following. It produces output only if the commit is NOT in HEAD. git rev-list -1 ^HEAD commitID -Dale -- 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