Re: Avoiding the "huge INBOX of death"
[notmuch-archives.git] / ef / 72a34d6041e0f4887eb0ab8abfd8215d9307e2
1 Return-Path: <too@guru-group.fi>\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 arlo.cworth.org (Postfix) with ESMTP id 184EE6DE0217\r
6  for <notmuch@notmuchmail.org>; Wed, 25 May 2016 14:04:51 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0.258\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0.258 tagged_above=-999 required=5 tests=[AWL=0.267, \r
12  HEADER_FROM_DIFFERENT_DOMAINS=0.001, T_RP_MATCHES_RCVD=-0.01]\r
13  autolearn=disabled\r
14 Received: from arlo.cworth.org ([127.0.0.1])\r
15  by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
16  with ESMTP id 9EAe1lyF_Qi6 for <notmuch@notmuchmail.org>;\r
17  Wed, 25 May 2016 14:04:41 -0700 (PDT)\r
18 Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])\r
19  by arlo.cworth.org (Postfix) with ESMTP id CABFE6DE00EB\r
20  for <notmuch@notmuchmail.org>; Wed, 25 May 2016 14:04:40 -0700 (PDT)\r
21 Received: by guru.guru-group.fi (Postfix, from userid 501)\r
22  id 47FBC1000C6; Thu, 26 May 2016 00:04:34 +0300 (EEST)\r
23 From: Tomi Ollila <tomi.ollila@iki.fi>\r
24 To: notmuch@notmuchmail.org\r
25 Cc: tomi.ollila@iki.fi\r
26 Subject: [PATCH 1/3] Makefile.local: set IS_GIT = yes when regular file\r
27  $srcdir/.git exists\r
28 Date: Thu, 26 May 2016 00:04:30 +0300\r
29 Message-Id: <1464210272-26281-1-git-send-email-tomi.ollila@iki.fi>\r
30 X-Mailer: git-send-email 2.8.2\r
31 X-BeenThere: notmuch@notmuchmail.org\r
32 X-Mailman-Version: 2.1.20\r
33 Precedence: list\r
34 List-Id: "Use and development of the notmuch mail system."\r
35  <notmuch.notmuchmail.org>\r
36 List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,\r
37  <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
38 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
39 List-Post: <mailto:notmuch@notmuchmail.org>\r
40 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
41 List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
42  <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
43 X-List-Received-Date: Wed, 25 May 2016 21:04:51 -0000\r
44 \r
45 $srcdir/.git may also be file. E.g. `git worktree` creates .git file\r
46 while new working tree is populated.\r
47 ---\r
48 \r
49 This first patch is useful for developers/testers who use git worktree\r
50 to get accurate version information. rest are not in such a hurry\r
51 (to be tested, I'll have these in by build circle around).\r
52 \r
53  Makefile.local | 2 +-\r
54  1 file changed, 1 insertion(+), 1 deletion(-)\r
55 \r
56 diff --git a/Makefile.local b/Makefile.local\r
57 index 6b413420b8d9..a1e9578441a4 100644\r
58 --- a/Makefile.local\r
59 +++ b/Makefile.local\r
60 @@ -10,7 +10,7 @@\r
61  # repository), we let git append identification of the actual commit.\r
62  PACKAGE=notmuch\r
63  \r
64 -IS_GIT=$(shell if [ -d ${srcdir}/.git ] ; then echo yes ; else echo no; fi)\r
65 +IS_GIT=$(shell if [ -d ${srcdir}/.git -o -f ${srcdir}/.git ] ; then echo yes ; else echo no; fi)\r
66  \r
67  ifeq ($(IS_GIT),yes)\r
68  DATE:=$(shell git --git-dir=${srcdir}/.git log --date=short -1 --pretty=format:%cd)\r
69 -- \r
70 2.8.2\r
71 \r