1 Return-Path: <jani@nikula.org>
\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 45B47431FB6
\r
6 for <notmuch@notmuchmail.org>; Tue, 26 Mar 2013 02:18:25 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5
\r
12 tests=[RCVD_IN_DNSWL_LOW=-0.7] 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 gNVPsOnWFYb7 for <notmuch@notmuchmail.org>;
\r
16 Tue, 26 Mar 2013 02:18:24 -0700 (PDT)
\r
17 Received: from mail-we0-f173.google.com (mail-we0-f173.google.com
\r
18 [74.125.82.173]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
\r
19 (No client certificate requested)
\r
20 by olra.theworths.org (Postfix) with ESMTPS id 24293431FAF
\r
21 for <notmuch@notmuchmail.org>; Tue, 26 Mar 2013 02:18:24 -0700 (PDT)
\r
22 Received: by mail-we0-f173.google.com with SMTP id t57so1775938wey.18
\r
23 for <notmuch@notmuchmail.org>; Tue, 26 Mar 2013 02:18:21 -0700 (PDT)
\r
24 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
\r
25 d=google.com; s=20120113;
\r
26 h=x-received:from:to:cc:subject:in-reply-to:references:user-agent
\r
27 :date:message-id:mime-version:content-type:x-gm-message-state;
\r
28 bh=fzSu1e20Ut6ClSFOpn5pPQk1CiKq+I34uX8qzt/SOCo=;
\r
29 b=ebgFGms3eZ8KkyCyZ6B/ABaZSeD70sU6CeF8o/7C7iDxdYzk/jWwhTi9uaWTFKK1R0
\r
30 rUL7oZxcKf9zrpreLeqWFqsbjtp39bL5FRbHLtSKNg1FIQmzjaYzH2Wf7bEIoZ9ZuoSu
\r
31 /fOmvV/bAaX5VFqMmCLk1/BZn7ucWJo82M4hERAUC6d99tHlZueUnEYmAu5aB9cGHB9x
\r
32 SOASqMOixTkSz66QZQOf/ElrwV+0JDde3EmHl+oL8vCe9I3BK9BaAbZ85MgTgpmuHuok
\r
33 i0jBbG0Ju7w0mgtZvc/DdCDWZSo9WKgE3Vgysi44dON0TDO8CNs19fLehV7cVfk4niUI
\r
35 X-Received: by 10.180.73.6 with SMTP id h6mr1708635wiv.27.1364289501718;
\r
36 Tue, 26 Mar 2013 02:18:21 -0700 (PDT)
\r
37 Received: from localhost ([2001:4b98:dc0:43:216:3eff:fe1b:25f3])
\r
38 by mx.google.com with ESMTPS id t7sm1766790wij.2.2013.03.26.02.18.19
\r
39 (version=TLSv1.1 cipher=RC4-SHA bits=128/128);
\r
40 Tue, 26 Mar 2013 02:18:20 -0700 (PDT)
\r
41 From: Jani Nikula <jani@nikula.org>
\r
42 To: Tomi Ollila <tomi.ollila@iki.fi>, notmuch@notmuchmail.org
\r
43 Subject: Re: [PATCH 1/1] devel/STYLE: information how to enable standard
\r
45 In-Reply-To: <1364040435-22357-1-git-send-email-tomi.ollila@iki.fi>
\r
46 References: <1364040435-22357-1-git-send-email-tomi.ollila@iki.fi>
\r
47 User-Agent: Notmuch/0.15.2+34~ga90fdd9 (http://notmuchmail.org) Emacs/23.2.1
\r
48 (x86_64-pc-linux-gnu)
\r
49 Date: Tue, 26 Mar 2013 10:18:11 +0100
\r
50 Message-ID: <87ppymfrjg.fsf@nikula.org>
\r
52 Content-Type: text/plain; charset=us-ascii
\r
54 ALoCoQmzQ0TAj3Ez/AmJQKu15IcOKSxhCbKtRNft8k1mwqhlNOd7TZ4ekbUas04FZrtFWdZT6VJD
\r
55 Cc: tomi.ollila@iki.fi
\r
56 X-BeenThere: notmuch@notmuchmail.org
\r
57 X-Mailman-Version: 2.1.13
\r
59 List-Id: "Use and development of the notmuch mail system."
\r
60 <notmuch.notmuchmail.org>
\r
61 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
62 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
63 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
64 List-Post: <mailto:notmuch@notmuchmail.org>
\r
65 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
66 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
67 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
68 X-List-Received-Date: Tue, 26 Mar 2013 09:18:25 -0000
\r
70 On Sat, 23 Mar 2013, Tomi Ollila <tomi.ollila@iki.fi> wrote:
\r
71 > It is easier to enable git standard pre-commit hook, when the
\r
72 > operation to do so is presented.
\r
74 > devel/STYLE | 5 +++--
\r
75 > 1 file changed, 3 insertions(+), 2 deletions(-)
\r
77 > diff --git a/devel/STYLE b/devel/STYLE
\r
78 > index 0792ba1..92de42c 100644
\r
81 > @@ -45,8 +45,9 @@ function (param_type param, param_type param)
\r
82 > - likewise, there is a space following keywords such as if and while
\r
83 > - every binary operator should have space on either side.
\r
85 > -* No trailing whitespace. Please enable the standard pre-commit hook
\r
86 > - in git (or an equivalent hook).
\r
87 > +* No trailing whitespace. Please enable the standard pre-commit hook in git
\r
88 > + (or an equivalent hook). The standard pre-commit hook is enabled by simply
\r
89 > + renaming file '.git/hooks/pre-commit.sample' to '.git/hooks/pre-commit' .
\r
93 Or just refer to http://git-scm.com/book/en/Customizing-Git-Git-Hooks or
\r
94 man githooks if you really need to. Older versions of git used to have
\r
95 properly named hooks with the executable bit unset...
\r
97 Personally I wouldn't ask anyone to enable the hook because I wouldn't
\r
98 enable it in the first place. There's $EDITOR and 'git diff --check' to
\r
99 do that kind of thing... When I want to commit I want to commit, warts
\r
100 and all, and I don't want a hook to prevent me from doing so!
\r