Re: [PATCH] Additional merge-base tests
- From
Junio C Hamano <junkio@cox.net>
- Date
- Jul 5, 2006, 00:24 UTC
- Message-ID
- <7v1wt0gapq.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <44AAF49F.6090008@gmail.com>
A Large Angry SCM <gitzilla@gmail.com> writes:
Show 5 quoted lines
> > 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.