Applying patches directly from emails?
authorNicolas Petton <nicolas@petton.fr>
Fri, 22 Jul 2016 21:02:03 +0000 (23:02 +0200)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 23:22:15 +0000 (16:22 -0700)
88/075c8c36c4d7f4a9801abb45e97380f21af03c [new file with mode: 0644]

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