Subject: Re: kh/name-rev-custom-format

From: Junio C Hamano <[email-masked]>
Date: Thu, 26 Mar 2026 11:48:30 -0700

"Kristoffer Haugsbakk" <[email-masked]> writes:

> On Wed, Mar 25, 2026, at 05:20, Junio C Hamano wrote:
>> * kh/name-rev-custom-format (2026-03-20) 2 commits
>>  - name-rev: learn --format=<pretty>
>>  - name-rev: wrap both blocks in braces
>>
>>  "git name-rev" learned to use custom format instead of the object
>>  name in an extended SHA-1 expression form.
>>
>>  Comments?
>>  source: <[email-masked]>
>
> I’m working on rewriting the functionality in the form of a new builtin
> git-format-rev(1) that lives in `builtin/name-rev.c`.

By the way, why do we want yet another builtin in the first place?
Wouldn't this be done as a new option to "git log", for example?