From: Junio C Hamano Date: Wed, 13 Aug 2025 21:40:17 GMT Subject: Re: symmetric difference with --left-only vs. range notation Message-ID: In-Reply-To: "D. Ben Knoble" writes: > git rev-list --count --left-only @{u}... > git rev-list --count ..@{u} > > In my estimation, since we're not using --cherry-pick here, the first > says "list (count) the commits on upstream but not in HEAD, since the > merge-base (which is reachable from both)" while the second says "list > (count) the commits on upstream but not in HEAD." Is there ever a > situation where those sets aren't the same? I don't think of any; let us know when you find a case that the above does not hold true ;-).