(Dropped HPA from the CC line - I think he was only copied for the master.kernel.org issues.)
On Sun, Apr 17, 2005 at 12:33:22PM -0700, Linus Torvalds wrote: > On Sun, 17 Apr 2005, Russell King wrote: > > I still need to work out how to make my noddy script follow different > > branches which may be present though. However, for my common work > > flow, it fits what I require. > > The way to handle that is that you need to > > - remember (or re-fetch) what the latest HEAD was that you merged with in > my tree. > > if you didn't remember, you can just get all my objects and do a > > merge-head $(cat .git/HEAD) $linus-current-head > > or something (using the current git archive that has a "merge-head" > program. That gives you the most recent common head. My script currently sends between two commit-ids, so... > - use "rev-tree" to show reachability > > rev-tree $my-current-head $last-merge-head > | sort -n # sort by date rather than sha1 > | cut -d' ' -f2 # get the sha1 + "flags" mask > | grep :1 # show the ones that are only > # reachable from $my-current-head > > and you now have a nice list of sha1's ordered by date. This will (and does) do exactly what I want. I'll also read into the above a request that you want it in forward date order. 8) -- Russell King - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html