All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jerome Pouiller <Jerome.Pouiller@silabs.com>
To: "git@vger.kernel.org" <git@vger.kernel.org>
Subject: [BUG] "--show-current-patch" return a mail instead of a patch
Date: Tue, 22 Oct 2019 10:18:03 +0000	[thread overview]
Message-ID: <2154192.LVDMpRDY2h@pc-42> (raw)

Hello all,

I try to use "git am" to apply a patch sent using "git send-email". This
patch does not apply properly. I try to use "git am --show-current-patch"
to understand the problem. However, since original mail is encoded in quoted-
printable, data returned by --show-current-patch is not a valid patch.

I expected that --show-current-patch would return decoded version of original 
mail or something that looks like the output of "git format-patch" or at least 
a valid patch. Thus, it could be processed with "git apply" or "patch".

Currently I run "git mailinfo" manually to get the patch, but it is not very 
handy.

(I use git version 2.20.1 from Debian buster)

Thank you,

-- 
Jérôme Pouiller


             reply	other threads:[~2019-10-22 10:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-22 10:18 Jerome Pouiller [this message]
2019-10-23  2:24 ` [BUG] "--show-current-patch" return a mail instead of a patch Junio C Hamano
2019-10-23  8:49   ` Jerome Pouiller
2019-10-23  8:55     ` Denton Liu
2019-10-23 10:15       ` Jerome Pouiller
2019-10-23 11:09         ` Denton Liu
2019-10-23 12:47           ` Jerome Pouiller

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=2154192.LVDMpRDY2h@pc-42 \
    --to=jerome.pouiller@silabs.com \
    --cc=git@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.