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

Re: log --format existence of notes?

From
Simon Richter <simon.richter@hogyros.de>
Date
Nov 21, 2024, 05:26 UTC
Message-ID
<04783772-8606-4c85-8389-92e68ff50df2@hogyros.de>
In-Reply-To
<D5NP6QUUBWBL.7OUG34RUIE2S@ferdinandy.com>
Hi,
On 11/17/24 00:11, Bence Ferdinandy wrote:
> On the other hand: would a quick win in analogy to "%G?" be considered? A "%N?"
> that either outputs a "N" for note and a "-" for no note? Or something like
> that. A bit ugly, but gets the job done.
FWIW my main use case for notes is to record build/test results.

Having formats for "first line of notes" or "last line of notes" (with newline removed) would be really useful for building a poor man's CI that can display checkmarks next to commit messages.

    Simon
Previous: Kousik Sanagavarapu
Message 7 of 7 in “log --format existence of notes?”
  1. Bence FerdinandyNov 15, 2024
  2. Junio C HamanoNov 16, 2024
  3. Bence FerdinandyNov 16, 2024
  4. ref-filter: add "notes" atomKousik Sanagavarapu, Nov 20, 2024
  5. Junio C HamanoNov 20, 2024
  6. Kousik SanagavarapuDec 1, 2024
  7. Simon RichterNov 21, 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.