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
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
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
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
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
45 $srcdir/.git may also be file. E.g. `git worktree` creates .git file
\r
46 while new working tree is populated.
\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
53 Makefile.local | 2 +-
\r
54 1 file changed, 1 insertion(+), 1 deletion(-)
\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
61 # repository), we let git append identification of the actual commit.
\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
67 ifeq ($(IS_GIT),yes)
\r
68 DATE:=$(shell git --git-dir=${srcdir}/.git log --date=short -1 --pretty=format:%cd)
\r