From: Nicolas Petton Date: Fri, 22 Jul 2016 21:02:03 +0000 (+0200) Subject: Applying patches directly from emails? X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=818a037854250606fe4e2b1069deed58be35b53a;p=notmuch-archives.git Applying patches directly from emails? --- diff --git a/88/075c8c36c4d7f4a9801abb45e97380f21af03c b/88/075c8c36c4d7f4a9801abb45e97380f21af03c new file mode 100644 index 000000000..05eaa9d3f --- /dev/null +++ b/88/075c8c36c4d7f4a9801abb45e97380f21af03c @@ -0,0 +1,95 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by arlo.cworth.org (Postfix) with ESMTP id 4DC5E6DE014D + for ; Fri, 22 Jul 2016 14:09:35 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: -0.72 +X-Spam-Level: +X-Spam-Status: No, score=-0.72 tagged_above=-999 required=5 + tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7, + RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=disabled +Received: from arlo.cworth.org ([127.0.0.1]) + by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id JKQ_4AAsviQm for ; + Fri, 22 Jul 2016 14:09:26 -0700 (PDT) +X-Greylist: delayed 428 seconds by postgrey-1.35 at arlo; + Fri, 22 Jul 2016 14:09:26 PDT +Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com + [66.111.4.29]) + by arlo.cworth.org (Postfix) with ESMTPS id C2F7C6DE00C8 + for ; Fri, 22 Jul 2016 14:09:26 -0700 (PDT) +Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) + by mailout.nyi.internal (Postfix) with ESMTP id BB1A72049B + for ; Fri, 22 Jul 2016 17:02:16 -0400 (EDT) +Received: from frontend1 ([10.202.2.160]) + by compute5.internal (MEProxy); Fri, 22 Jul 2016 17:02:16 -0400 +DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= + messagingengine.com; h=content-type:date:from:message-id + :mime-version:subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=IU + cJUcC2EpHRT8tNOxw5Awac0s8=; b=mEktxokWH+xZSCjcBsxV9S0m1uijRVvmcQ + rNL9yv9KQzQiRiLnG5Ay0XqizDx1n8TAMptTm35/7Uk+oiMkD4ZuDgiCJ6g5Yj7P + RC5PaeYKDnVS+DYHhBXgUKWcTyZA3pIVknIIqwrP0qF+Zxv9iu0LtzwIk336E0U4 + oxh+dgrKI= +X-Sasl-enc: 5XXHlSFfJDHreAxCgjO1n3ah/ztqCjRqyfiiKnJUn9Lq 1469221336 +Received: from strawberry (lfbn-1-7726-61.w92-167.abo.wanadoo.fr + [92.167.139.61]) + by mail.messagingengine.com (Postfix) with ESMTPA id 3D156F29FC + for ; Fri, 22 Jul 2016 17:02:16 -0400 (EDT) +From: Nicolas Petton +To: notmuch@notmuchmail.org +Subject: Applying patches directly from emails? +User-Agent: Notmuch/0.21 (https://notmuchmail.org) Emacs/25.1.50.1 + (x86_64-unknown-linux-gnu) +Date: Fri, 22 Jul 2016 23:02:03 +0200 +Message-ID: <87d1m58jzo.fsf@petton.fr> +MIME-Version: 1.0 +Content-Type: multipart/signed; boundary="=-=-="; + micalg=pgp-sha256; protocol="application/pgp-signature" +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.20 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Fri, 22 Jul 2016 21:09:35 -0000 + +--=-=-= +Content-Type: text/plain + +hi, + +I'd like to be able to apply patches sent from emails, either as +attachments or inlined. + +Notmuch can show inline patches as diffs, which is very handy, but I +didn't find a builtin way to apply these inline patches (or attached +ones) directly from the email, maybe I overlooked something? + +Cheers, +Nico + +--=-=-= +Content-Type: application/pgp-signature; name="signature.asc" + +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2 +Comment: GPGTools - http://gpgtools.org + +iQEcBAEBCAAGBQJXkonLAAoJECM1h6R8IHkQMgAH/3ZSSLUF7FjiISww5rQhSQR3 +IIIyYC0y2fIoSd0SkEkNJJHaOLb2JNIHYx0KW6b318BF1Qm12EMDYrcA5r+cmg+5 +fdEaptjvAa/7wuGYwDnDqSD2jOo0QeDxDyg7FpLoKBgRHCnvW3AHgAfPhr5ppIuc +xOiW+rCIaT2nEeZklH8oIeiGOZj0k+DyqPf7GUQnPTO6Oxm2au9Z3xL/qKPDsIY3 +PTkTLDUC7+cOjy6I/uqlUVRawlwSvyQ7YAZ5BwkhbPM8Wf66AuE4qzseQk6olsNb +1e2sSVGw8YOSrWhs10EcBfd98OecE9bjNXZyqsGkGKgoLPw7Oe28/Jy7ibWhaqU= +=v+oG +-----END PGP SIGNATURE----- +--=-=-=--