From: Junio C Hamano Date: Thu, 25 Sep 2025 13:25:17 GMT Subject: Re: 0-Based indexes for git log Message-ID: In-Reply-To: <95F22D6A-38D9-4F4D-B71E-59320B86B4E8@gmail.com> Ben Knoble writes: >> * merge parent numbers are 2-based (sanity of this statement is >> already questionable). If HEAD is a merge, HEAD~2 is the >> "(first) side branch that was merged", HEAD~3 is the "(second) >> side brnach that was merged (in an octopus merge), and so on. > > HEAD^2, 3, etc., rather? :) Thanks for correcting me. Yes. And HEAD^1 is the first parent that is the same as HEAD~1.