On 4/24/06, Junio C Hamano <junkio@xxxxxxx> wrote: > git merge-base $broken_commit "master" > > would show $broken_commit if "master" is a fast-forward of > $broken_commit (i.e. "master" is a descendant). I think that is > what you are calling "$broken_commit is in master". of course! Thanks! I'm in the middle of a somewhat nasty merge, and my fingers got all tangled working up and down the history finding what heads have this commit. I can now do a loop with bash calling all the heads against it. Great! (hmmm. just had to decide to go back to basics and perform some reverts before retrying the merge.) m - : 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