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 432B46DE13A3
\r
6 for <notmuch@notmuchmail.org>; Tue, 2 Jun 2015 07:44:19 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org
\r
11 X-Spam-Status: No, score=0.419 tagged_above=-999 required=5 tests=[AWL=0.959,
\r
12 RP_MATCHES_RCVD=-0.55, T_HEADER_FROM_DIFFERENT_DOMAINS=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 0EWr8PuW9TlJ for <notmuch@notmuchmail.org>;
\r
17 Tue, 2 Jun 2015 07:44:16 -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 7340A6DE138F
\r
20 for <notmuch@notmuchmail.org>; Tue, 2 Jun 2015 07:44:16 -0700 (PDT)
\r
21 Received: by guru.guru-group.fi (Postfix, from userid 501)
\r
22 id CCC8A100090; Tue, 2 Jun 2015 17:43:51 +0300 (EEST)
\r
23 From: Tomi Ollila <tomi.ollila@iki.fi>
\r
24 To: notmuch@notmuchmail.org
\r
25 Subject: [PATCH] release-checks: check that git working directory is clean
\r
26 Date: Tue, 2 Jun 2015 17:43:45 +0300
\r
27 Message-Id: <1433256225-13531-1-git-send-email-tomi.ollila@iki.fi>
\r
28 X-Mailer: git-send-email 2.0.0
\r
29 Cc: tomi.ollila@iki.fi
\r
30 X-BeenThere: notmuch@notmuchmail.org
\r
31 X-Mailman-Version: 2.1.18
\r
33 List-Id: "Use and development of the notmuch mail system."
\r
34 <notmuch.notmuchmail.org>
\r
35 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
36 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
37 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>
\r
38 List-Post: <mailto:notmuch@notmuchmail.org>
\r
39 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
40 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
41 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
42 X-List-Received-Date: Tue, 02 Jun 2015 14:44:19 -0000
\r
44 Before release check that there are no uncommitted changes and
\r
45 that there are no files in working directory that possibly should
\r
46 have been added to the repository.
\r
48 devel/release-checks.sh | 11 +++++++++++
\r
49 1 file changed, 11 insertions(+)
\r
51 diff --git a/devel/release-checks.sh b/devel/release-checks.sh
\r
52 index ae02f557af23..eceea6165b5b 100755
\r
53 --- a/devel/release-checks.sh
\r
54 +++ b/devel/release-checks.sh
\r
55 @@ -59,6 +59,17 @@ readonly VERSION
\r
57 # In the rest of this file, tests collect list of errors to be fixed
\r
59 +echo -n "Checking that git working directory is clean... "
\r
60 +git_status=`git status --porcelain --ignored`
\r
61 +if [ "$git_status" = '' ]
\r
66 + append_emsg "Git working directory is not clean (git status --porcelain --ignored)."
\r