Re: kh/name-rev-custom-format
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Mar 26, 2026, 18:48 UTC
- Message-ID
- <xmqqtsu2pgu9.fsf@gitster.g>
- In-Reply-To
- <e33142cb-1ec3-468f-8080-ba3bad79ae25@app.fastmail.com>
"Kristoffer Haugsbakk" <kristofferhaugsbakk@fastmail.com> writes:
Show 13 quoted lines
> 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: <V2_CV_name-rev_--format.51b@msgid.xyz> > > 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?