Re: [notmuch] [PATCH] Prevent data loss caused by SIGINT during notmuch new
authorCarl Worth <cworth@cworth.org>
Tue, 13 Apr 2010 15:47:04 +0000 (08:47 +1700)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:36:37 +0000 (09:36 -0800)
97/036ec30af188de38fbae654f5d1a2993a790d9 [new file with mode: 0644]

diff --git a/97/036ec30af188de38fbae654f5d1a2993a790d9 b/97/036ec30af188de38fbae654f5d1a2993a790d9
new file mode 100644 (file)
index 0000000..e1dcb0f
--- /dev/null
@@ -0,0 +1,86 @@
+Return-Path: <cworth@cworth.org>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 985104196F2\r
+       for <notmuch@notmuchmail.org>; Tue, 13 Apr 2010 08:47:05 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -2.89\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-2.89 tagged_above=-999 required=5\r
+       tests=[ALL_TRUSTED=-1, BAYES_00=-1.9, T_MIME_NO_TEXT=0.01]\r
+       autolearn=ham\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id fua2MtkEoItr; Tue, 13 Apr 2010 08:47:05 -0700 (PDT)\r
+Received: from yoom.home.cworth.org (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id E0F8F431FC1;\r
+       Tue, 13 Apr 2010 08:47:04 -0700 (PDT)\r
+Received: by yoom.home.cworth.org (Postfix, from userid 1000)\r
+       id 9C5C55883A6; Tue, 13 Apr 2010 08:47:04 -0700 (PDT)\r
+From: Carl Worth <cworth@cworth.org>\r
+To: Michal Sojka <sojkam1@fel.cvut.cz>, notmuch@notmuchmail.org\r
+Subject: Re: [notmuch] [PATCH] Prevent data loss caused by SIGINT during\r
+       notmuch new\r
+In-Reply-To: <1269937403-8495-1-git-send-email-sojkam1@fel.cvut.cz>\r
+References: <874ojy9q1z.fsf@steelpick.2x.cz>\r
+       <1269937403-8495-1-git-send-email-sojkam1@fel.cvut.cz>\r
+Date: Tue, 13 Apr 2010 08:47:04 -0700\r
+Message-ID: <87mxx7e4nb.fsf@yoom.home.cworth.org>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+       micalg=pgp-sha1; protocol="application/pgp-signature"\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://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: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Tue, 13 Apr 2010 15:47:05 -0000\r
+\r
+--=-=-=\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+On Tue, 30 Mar 2010 10:23:23 +0200, Michal Sojka <sojkam1@fel.cvut.cz> wrot=\r
+e:\r
+> When Ctrl-C is pressed in a wrong time during notmuch new, it can lead\r
+> to removal of messages from the database even if the files were not\r
+> removed.\r
+>=20\r
+> It happened at least once to me.\r
+>=20\r
+> Signed-off-by: Michal Sojka <sojkam1@fel.cvut.cz>\r
+\r
+Thanks so much, Michal!\r
+\r
+This was a very bad bug that I'm sure I introduced myself when\r
+implementing rename support.\r
+\r
+Thanks to Sebastian for reminding me to pick this up for the 0.2\r
+release.\r
+\r
+And, everyone, if I'm behind on patches, (which has always been the case\r
+so far with this project...), please feel free to make plenty of noise\r
+when there are known fixes for data-loss bugs. We really shouldn't let\r
+those sit for a couple of weeks!\r
+\r
+=2DCarl\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.10 (GNU/Linux)\r
+\r
+iD8DBQFLxJH46JDdNq8qSWgRAkq3AJ90ydga0zhMe5sYbTXV+Bq+Ev5fIQCglfJt\r
+JRJEf5qnW88Dffd99TIpr50=\r
+=8Wpv\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r