1 Return-Path: <tom.prince@ualberta.net>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id 5BE3D429E21
\r
6 for <notmuch@notmuchmail.org>; Mon, 3 Oct 2011 10:38:53 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id gFy0kwE+BaW1 for <notmuch@notmuchmail.org>;
\r
16 Mon, 3 Oct 2011 10:38:52 -0700 (PDT)
\r
17 Received: from socrates.hocat.ca (socrates.hocat.ca [76.10.188.53])
\r
18 by olra.theworths.org (Postfix) with ESMTP id B7578431FB6
\r
19 for <notmuch@notmuchmail.org>; Mon, 3 Oct 2011 10:38:52 -0700 (PDT)
\r
20 Received: from hermes.hocat.ca (hermes.hocat.ca [69.165.170.253])
\r
21 by socrates.hocat.ca (Postfix) with SMTP id E30691C5E
\r
22 for <notmuch@notmuchmail.org>; Mon, 3 Oct 2011 11:38:49 -0600 (MDT)
\r
23 Received: (nullmailer pid 8104 invoked by uid 1000);
\r
24 Mon, 03 Oct 2011 17:38:48 -0000
\r
25 From: Tom Prince <tom.prince@ualberta.net>
\r
26 To: notmuch@notmuchmail.org
\r
27 Subject: notmuch and git
\r
28 User-Agent: Notmuch/0.7 (http://notmuchmail.org) Emacs/23.3.3
\r
29 (x86_64-pc-linux-gnu)
\r
30 Date: Mon, 03 Oct 2011 13:38:48 -0400
\r
31 Message-ID: <87y5x27z6f.fsf@hermes.hocat.ca>
\r
33 Content-Type: text/plain; charset=us-ascii
\r
34 X-BeenThere: notmuch@notmuchmail.org
\r
35 X-Mailman-Version: 2.1.13
\r
37 List-Id: "Use and development of the notmuch mail system."
\r
38 <notmuch.notmuchmail.org>
\r
39 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
40 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
41 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
42 List-Post: <mailto:notmuch@notmuchmail.org>
\r
43 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
44 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
45 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
46 X-List-Received-Date: Mon, 03 Oct 2011 17:38:53 -0000
\r
48 I know that having an exclude option for notmuch has been discussed a
\r
49 number of times. I have wanted such a feature to be able to ignore the
\r
50 .git directroy, since I keep my mail in a git repository. I recently
\r
51 discovered a workaround.
\r
53 If you make .git a text file containing
\r
55 gitdir: .notmuch/git
\r
57 and move the .git directory to .notmuch/git, git will behave as if it is
\r
58 a normal repository, and notmuch will ignore .notmuch/git. notmuch will
\r
59 warn once about .git not being a mail file, but since it is static, it
\r
60 won't warn about it every time one does 'notmuch new'.
\r