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

Re: [PATCH] format-patch: use raw format for notes

From
Tuomas Ahola <taahol@utu.fi>
Date
Mar 18, 2025, 21:30 UTC
Message-ID
<20250318.233012.1423505396684882738.taahol@utu.fi>
In-Reply-To
<xmqqy0x2yr6b.fsf@gitster.g>
From: Junio C Hamano <gitster@pobox.com>
Subject: Re: [PATCH] format-patch: use raw format for notes
Date: Tue, 18 Mar 2025 14:17:32 -0700
> [--] more importantly, the contents of the note loses its crucial
> leading spaces that makes sure that any random lines in the note
> that happen to begin with "diff", "---", etc. are not mistaken as
> the beginning of the first patch.
Thanks for quick response. That was indeed a compelling point.
> So, no, this change is not a good thing to do, at least in its
> current form.  Besides, unconditional change like this will break
> existing users.

I see that similar patch was proposed in 2017. I should have searched more thoroughly, I guess.

--Tuomas A.
Previous: Junio C HamanoNext: Junio C Hamano
Message 4 of 5 in “format-patch: use raw format for notes”
  1. format-patch: use raw format for notesTuomas Ahola, Mar 18, 2025
  2. brian m. carlsonMar 18, 2025
  3. Junio C HamanoMar 18, 2025
  4. Tuomas AholaMar 18, 2025
  5. Junio C HamanoMar 19, 2025

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.