git/list[1] front-page[2] threads[3] people[4] search[5] about
 

kh/name-rev-custom-format

From
KHKristoffer Haugsbakk <kristofferhaugsbakk@fastmail.com>
Date
Mar 26, 2026, 18:07 UTC
Message-ID
<e33142cb-1ec3-468f-8080-ba3bad79ae25@app.fastmail.com>
In-Reply-To
<xmqqldfgy1ye.fsf@gitster.g>
On Wed, Mar 25, 2026, at 05:20, Junio C Hamano wrote:
Show 9 quoted lines
> * 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`.

Previous: Junio C HamanoNext: Junio C Hamano
Message 5 of 8 in “What's cooking in git.git (Mar 2026, #10)”
  1. Junio C HamanoMar 25, 2026
  2. Jeff KingMar 25, 2026
  3. Shreyansh PaliwalMar 25, 2026
  4. Junio C HamanoMar 25, 2026
  5. kh/name-rev-custom-formatKristoffer Haugsbakk, Mar 26, 2026
  6. Junio C HamanoMar 26, 2026
  7. Kristoffer HaugsbakkMar 26, 2026
  8. Junio C HamanoMar 26, 2026

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.