git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Christoph Anton Mitterer <calestyo@scientia.org>
To: Jeff King <peff@peff.net>
Cc: git@vger.kernel.org
Subject: Re: git format-patch escaping issues in the patch format
Date: Tue, 05 Nov 2024 02:03:21 +0100	[thread overview]
Message-ID: <3a96888e76e4dd26a3b0a81a19cda8ec7de72662.camel@scientia.org> (raw)
In-Reply-To: <20241104235432.GB3017597@coredump.intra.peff.net>

On Mon, 2024-11-04 at 18:54 -0500, Jeff King wrote:
> As you note, the mbox format is not well defined. :) The variant with
> ">"-quoting of "From" lines is often called "mboxrd", and you can get
> it
> with the "--format=mboxrd" option.

But as you've said below, here too, the receiving side most likely
doesn’t know that and then a wrong commit message would be applied
(with no unescaping being performed or it would simply break again when
the magic From is used).


Cheers,
Chris.

  reply	other threads:[~2024-11-05  1:42 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-04 19:24 git format-patch escaping issues in the patch format Christoph Anton Mitterer
2024-11-04 22:15 ` Kristoffer Haugsbakk
2024-11-05  1:26   ` Christoph Anton Mitterer
2024-11-05 14:32     ` Kristoffer Haugsbakk
2024-11-05 15:02       ` Christoph Anton Mitterer
2024-11-04 23:54 ` Jeff King
2024-11-05  1:03   ` Christoph Anton Mitterer [this message]
2024-11-05 15:05     ` Jeff King
2024-11-05  0:22 ` Junio C Hamano
2024-11-05  1:01   ` Christoph Anton Mitterer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3a96888e76e4dd26a3b0a81a19cda8ec7de72662.camel@scientia.org \
    --to=calestyo@scientia.org \
    --cc=git@vger.kernel.org \
    --cc=peff@peff.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).