From: Andreas Schwab Date: Mon, 06 Feb 2012 12:27:46 GMT Subject: Re: Specifying revisions in the future Message-ID: In-Reply-To: Matthieu Moy writes: > Andreas Schwab writes: > >> The rule should be to follow the leftmost parent as far as possible. > > But then, if --first-parent doesn't reach the commit you want, there may > be several paths not following --first-parent that reach it. And you'll > have to invent some more rules to order them. The leftmost parent is not necessarily the first parent, but the leftmost parent that still reaches the commit. It's a depth-first search: if following the first parent doesn't reach the commit any more, try again with the second parent. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."