git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* [BUG] "--show-current-patch" return a mail instead of a patch
@ 2019-10-22 10:18 Jerome Pouiller
  2019-10-23  2:24 ` Junio C Hamano
  0 siblings, 1 reply; 7+ messages in thread
From: Jerome Pouiller @ 2019-10-22 10:18 UTC (permalink / raw)
  To: git@vger.kernel.org

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-10-23 12:47 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-22 10:18 [BUG] "--show-current-patch" return a mail instead of a patch Jerome Pouiller
2019-10-23  2:24 ` 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

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).