[PATCH] rev-tree support for "in X but not in Y".
commit727ff277878490f50a3acefdd1ce6a94b3c9f4c2
authorDavid Woodhouse <dwmw2@infradead.org>
Tue, 12 Apr 2005 19:35:11 +0000 (12 12:35 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 12 Apr 2005 19:35:11 +0000 (12 12:35 -0700)
tree7ab8bf31e1f8df4e485bbf198c2579fc6b2b5cb9
parentc0fb976aa779c508314305f309f240fa6bfc3128
[PATCH] rev-tree support for "in X but not in Y".

To do the automated commit-mailing I need to be able to answer the
question "which commits are here today but weren't yesterday"...  i.e.
given two commit-ids $HEAD and $YESTERDAY I want to be able to do:

rev-tree $HEAD ^$YESTERDAY

to list those commits which are in the tree now but weren't
ancestors of yesterday's head.

Yes, I could probably do this with
rev-tree $HEAD $YESTERDAY | egrep -v ^[a-z0-9]*:3
but I prefer not to.
rev-tree.c