From: Junio C Hamano Date: Mon, 12 Jan 2026 20:23:17 GMT Subject: Re: [PATCH] last-modified: verify revision argument is a commit-ish Message-ID: In-Reply-To: <20260112-toon-last-modified-tree-v1-1-ecbc78341f76@iotcl.com> Toon Claes writes: > Passing a tree OID to git-last-modified(1) would trigger BUG behavior. > > git last-modified HEAD^{tree} > BUG: builtin/last-modified.c:456: paths remaining beyond boundary in last-modified Of course, the starting point last-modified needs to be something that will yield series of commits when given to get_revision() ;-) > Fix this error by verifying the parsed revision is peels to a > commit-ish. OK.