On Mon, Jul 18, 2011 at 12:33:27PM +1200, Chris Packham wrote: > > I'm not clear on what makes "B" more special than "A" in the graph > > above. But assuming you know A, don't you just want: > > What makes A special in this case is that commits up to and including > A have been reviewed, regression tested etc. My use-case is really > about telling people what has been worked on since the last time the > code was reviewed. OK, that makes sense. > > git log --no-merges topic ^upstream ^A > > > > ? That is, "everything in topic, but not in upstream, nor in the parent > > of A". Or if you know A and not B, you can use "^B^!" (which means "do > > not include commits that are in any parent of B"). > > Brilliant, that's exactly what I wanted. Thanks. Oops, I mis-stated it above. It would be "everything in topic, but not in upstream, nor in A". Which I think is what you actually want (I had originally written it as "^B^!", but forgot to change the text when I switched it to the more-readable "^A"). -Peff -- 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