Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id DEE1F431FBD for ; Wed, 3 Feb 2010 12:18:45 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.823 X-Spam-Level: X-Spam-Status: No, score=-0.823 tagged_above=-999 required=5 tests=[AWL=1.776, BAYES_00=-2.599] autolearn=ham Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Lp3oiNNnl81d for ; Wed, 3 Feb 2010 12:18:44 -0800 (PST) Received: from clegg.madduck.net (clegg.madduck.net [193.242.105.96]) by olra.theworths.org (Postfix) with ESMTP id 9252A431FAE for ; Wed, 3 Feb 2010 12:18:44 -0800 (PST) Received: from lapse.rw.madduck.net (lapse.nz.madduck.net [IPv6:2001:4428:234::1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "lapse.rw.madduck.net", Issuer "CAcert Class 3 Root" (verified OK)) by clegg.madduck.net (postfix) with ESMTPS id 8E4A91D409E; Wed, 3 Feb 2010 21:18:32 +0100 (CET) Received: by lapse.rw.madduck.net (Postfix, from userid 1000) id 566CFFF; Thu, 4 Feb 2010 09:18:29 +1300 (NZDT) Date: Thu, 4 Feb 2010 09:18:29 +1300 From: martin f krafft To: Marten Veldthuis Message-ID: <20100203201829.GD23976@lapse.rw.madduck.net> Mail-Followup-To: Marten Veldthuis , Matthew Gregg , notmuch@notmuchmail.org References: <87sk9ipxtz.fsf@yoom.home.cworth.org> <87ock6lagp.fsf@lillypad.riseup.net> <87ljfa2yhj.fsf@marten.rgoc.rug.nl> <1265207812.26954.0.camel@dufus> <87hbpy2wwa.fsf@marten.rgoc.rug.nl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-ripemd160; protocol="application/pgp-signature"; boundary="IDYEmSnFhs3mNXr+" Content-Disposition: inline In-Reply-To: <87hbpy2wwa.fsf@marten.rgoc.rug.nl> X-Motto: Keep the good times rollin' X-OS: Debian GNU/Linux squeeze/sid kernel 2.6.32-trunk-686 i686 X-Spamtrap: madduck.bogus@madduck.net X-Subliminal-Message: debian/rules! User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: clamav-milter 0.95.3 at clegg X-Virus-Status: Clean Cc: notmuch@notmuchmail.org Subject: [notmuch] Git commit mails (was: New wiki instance on the notmuchmail.org website) X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 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: Wed, 03 Feb 2010 20:18:46 -0000 --IDYEmSnFhs3mNXr+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable also sprach Marten Veldthuis [2010.02.04.0353 +1300]: > > Like this? http://notmuchmail.org/recentchanges/ >=20 > No, more like this: http://git.notmuchmail.org/git/notmuch-wiki To my knowledge, neither of these two give you diffs. This is what a post-receive hook offers. It's trivial to do with Git. Assuming a recent Git-on-Debian, it's just (assuming you are in the bare repository) test -d refs || echo not in repo sed -e 's,^#\.,,' hooks/post-receive.sample > hooks/post-receive chmod 755 !$ git config hooks.mailinglist notmuch@notmuchmail.org One might also have to send hooks.envelopesender and hooks.emailprefix (without trailing space) could be nice. PS: speaking of prefixes, how about remving the subject prefix of this list in general? ;) --=20 martin | http://madduck.net/ | http://two.sentenc.es/ =20 "arguments are extremely vulgar, for everyone in good society holds exactly the same opinion." -- oscar wilde =20 spamtraps: madduck.bogus@madduck.net --IDYEmSnFhs3mNXr+ Content-Type: application/pgp-signature; name="digital_signature_gpg.asc" Content-Description: Digital signature (see http://martin-krafft.net/gpg/) Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEAREDAAYFAktp2hUACgkQIgvIgzMMSnV4AgCg7S9uEbVdYaFOXtLOOUIRDjsX RBAAn3UHhSSFCybedndzwjOUIVd8f9J3 =Ufhw -----END PGP SIGNATURE----- --IDYEmSnFhs3mNXr+--