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

Re: git-log --format missing trailing newline character

From
ACAlejandro Colomar <alx@kernel.org>
Date
Dec 23, 2024, 21:23 UTC
Message-ID
<elrdfos3fkzjdmhvyxbshsbt6nw723mr3m7blw7ghghnresxi6@vvj7u6jwlgur>
In-Reply-To
<8734ieyumd.fsf@igel.home>
Hi Andreas,
On Mon, Dec 23, 2024 at 10:09:14PM GMT, Andreas Schwab wrote:
Show 6 quoted lines
> On Dez 23 2024, Alejandro Colomar wrote:
> 
> > Anyway, it feels awkward that git-log(1) skips the last newline whith
> > --format=format.  Should that be fixed?
> 
> If you want terminator semantics, use tformat: instead of format:.
Thanks!

Have a lovely night! Alex

-- 
<https://www.alejandro-colomar.es/>
Previous: Andreas SchwabNext: Junio C Hamano
Message 5 of 7 in “git-log --format missing trailing newline character”
  1. Alejandro ColomarDec 23, 2024
  2. Kristoffer HaugsbakkDec 23, 2024
  3. Alejandro ColomarDec 23, 2024
  4. Andreas SchwabDec 23, 2024
  5. Alejandro ColomarDec 23, 2024
  6. Junio C HamanoDec 26, 2024
  7. Alejandro ColomarDec 26, 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.