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

Re: Feature Request: Document the log format string equivalent of built-in formats

From
KHKristoffer Haugsbakk <kristofferhaugsbakk@fastmail.com>
Date
Oct 15, 2024, 18:04 UTC
Message-ID
<22391e5d-c6fa-4b33-a12a-b63bbb979d81@app.fastmail.com>
In-Reply-To
<CAO8bsPCWkqDFSqWwJ3gQt7O2g1okodb_Q-NbbkTq9bc7M=zU1A@mail.gmail.com>
Backlink:
https://stackoverflow.com/questions/79089206/is-it-possible-to-fully-replicate-the-default-behavior-of-git-log-with-a-format
I took a look at the code before today with search terms like
    CMIT_FMT_DEFAULT
    CMIT_FMT_MEDIUM,

And it looked to me that at least parts of it were implemented using regular code branching. I was thinking that maybe the built-in formats were defined just using the formatting primitives. But it didn’t look like that to me.

Previous: Henry QinNext: Henry Qin
Message 2 of 3 in “Feature Request: Document the log format string equivalent of built-in formats”
  1. Henry QinOct 15, 2024
  2. Kristoffer HaugsbakkOct 15, 2024
  3. Henry QinOct 15, 2024

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.