From: Junio C Hamano Date: Wed, 05 Jul 2006 00:24:33 GMT Subject: Re: [PATCH] Additional merge-base tests Message-ID: <7v1wt0gapq.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <44AAF49F.6090008@gmail.com> A Large Angry SCM writes: > > It works[*] and it does what using the timestamp was trying to > do. Namely, work from "more recent" (or "closer") commits toward > "older" (or "farther") commits until you've gone past the point you > care about. If you really really care, now we have clear_commit_marks() with get_merge_bases() infrastructure in, you _could_ run another round of get_merge_bases() on the commit on the result list to see which ones are reachable from others by performing an equivalent of fast-forward/already-up-to-date check.