From: Taylor Blau Date: Mon, 21 Oct 2024 20:35:11 GMT Subject: Re: [RFC PATCH] object-name: add @{upstreamhead} shorthand Message-ID: In-Reply-To: On Mon, Oct 21, 2024 at 10:09:38PM +0200, Bence Ferdinandy wrote: > > E.g., I think you could do: > > > > upstream=$(git rev-parse --symbolic-full-name @{upstream}) > > git log ${upstream%/*}/HEAD.. > > That particular one will break if you have something like > refs/remotes/origin/foo/bar, but I get your point. Ugh. Having / characters in remote names feels like a mistake to me ;-). Thanks, Taylor