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

Re: [PATCH] mailsplit add option to include sanitized subject in filename

From
Jacob Keller <jacob.keller@gmail.com>
Date
Apr 11, 2024, 03:22 UTC
Message-ID
<CA+P7+xooa08Y-D8CXDGK7_aZ5c2b9iXM6+rFS5qNLyZaG0Kh3A@mail.gmail.com>
In-Reply-To
<xmqqpluz2tau.fsf@gitster.g>
On Mon, Apr 8, 2024 at 6:55 PM Junio C Hamano <gitster@pobox.com> wrote:
Show 12 quoted lines
>
> Jacob Keller <jacob.e.keller@intel.com> writes:
>
> > I originally wanted to avoid the need for an option, but git-am
> > currently depends on the strict sequence number filenames.  It is
> > unclear how difficult it would be to refactor git-am to work with
> > names that include the extra subject data.
>
> I am not sure if I follow.  Do you mean
>
>         $ git am ./dir/0*.txt
>

No, I mean git am invokes git mailsplit to split a mailbox file into a temporary directory, and then expects to find exactly "0000", "0001", "0002" etc, but not "0001-fix-bug" and "0002-implement-feature"

Previous: Junio C HamanoNext: Junio C Hamano
Message 3 of 8 in “mailsplit add option to include sanitized subject in filename”
  1. mailsplit add option to include sanitized subject in filenameJacob Keller, Apr 9, 2024
  2. Junio C HamanoApr 9, 2024
  3. Jacob KellerApr 11, 2024
  4. Junio C HamanoApr 11, 2024
  5. Junio C HamanoApr 11, 2024
  6. Jacob KellerApr 11, 2024
  7. Junio C HamanoApr 11, 2024
  8. Jacob KellerApr 13, 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.