Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / 0e / 5957a1c9e8709e36bc10606baf7a9fd9e051ab
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 olra.theworths.org (Postfix) with ESMTP id 74C29431FBF\r
6         for <notmuch@notmuchmail.org>; Tue, 22 Apr 2014 08:19:58 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
12         autolearn=disabled\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 2XUH7o8bf0-J for <notmuch@notmuchmail.org>;\r
16         Tue, 22 Apr 2014 08:19:53 -0700 (PDT)\r
17 Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])\r
18         by olra.theworths.org (Postfix) with ESMTP id 956DC431FBD\r
19         for <notmuch@notmuchmail.org>; Tue, 22 Apr 2014 08:19:53 -0700 (PDT)\r
20 Received: by guru.guru-group.fi (Postfix, from userid 501)\r
21         id 847061000C0; Tue, 22 Apr 2014 18:19:46 +0300 (EEST)\r
22 From: Tomi Ollila <tomi.ollila@iki.fi>\r
23 To: notmuch@notmuchmail.org\r
24 Subject: [PATCH 1/1] building from git: use --abbrev=7 for version string\r
25 Date: Tue, 22 Apr 2014 18:19:44 +0300\r
26 Message-Id: <1398179984-29531-1-git-send-email-tomi.ollila@iki.fi>\r
27 X-Mailer: git-send-email 1.8.0\r
28 Cc: tomi.ollila@iki.fi\r
29 X-BeenThere: notmuch@notmuchmail.org\r
30 X-Mailman-Version: 2.1.13\r
31 Precedence: list\r
32 List-Id: "Use and development of the notmuch mail system."\r
33         <notmuch.notmuchmail.org>\r
34 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
35         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
36 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
37 List-Post: <mailto:notmuch@notmuchmail.org>\r
38 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
39 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
40         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
41 X-List-Received-Date: Tue, 22 Apr 2014 15:19:58 -0000\r
42 \r
43 Users may have set core.abbrev=n, where n != 7 in their git config\r
44 file(s) which would give them different than expected version strings\r
45 when building notmuch from git. This fixes the commit hash part of\r
46 version string to 7 hexadecimal values.\r
47 ---\r
48 \r
49 tested with:\r
50 git config core.abbrev 12\r
51 git describe\r
52 rm version.stamp\r
53 make\r
54 cat version.stamp\r
55 git reset --hard origin/master\r
56 make\r
57 cat version.stamp\r
58 \r
59 .local | 2 +-\r
60  1 file changed, 1 insertion(+), 1 deletion(-)\r
61 \r
62 diff --git a/Makefile.local b/Makefile.local\r
63 index 877a979..6e78368 100644\r
64 --- a/Makefile.local\r
65 +++ b/Makefile.local\r
66 @@ -21,7 +21,7 @@ endif\r
67  VERSION:=$(shell cat ${srcdir}/version)\r
68  ifeq ($(filter release release-message pre-release update-versions,$(MAKECMDGOALS)),)\r
69  ifeq ($(IS_GIT),yes)\r
70 -VERSION:=$(shell git describe --match '[0-9.]*'|sed -e s/_/~/ -e s/-/+/ -e s/-/~/)\r
71 +VERSION:=$(shell git describe --abbrev=7 --match '[0-9.]*'|sed -e s/_/~/ -e s/-/+/ -e s/-/~/)\r
72  # Write the file 'version.stamp' in case its contents differ from $(VERSION)\r
73  FILE_VERSION:=$(shell test -f version.stamp && read vs < version.stamp || vs=; echo $$vs)\r
74  ifneq ($(FILE_VERSION),$(VERSION))\r
75 -- \r
76 1.9.0\r
77 \r