Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 4560E431FBF for ; Sat, 23 Mar 2013 05:07:28 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ywSBFRNrL9aE for ; Sat, 23 Mar 2013 05:07:27 -0700 (PDT) Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34]) by olra.theworths.org (Postfix) with ESMTP id 89A68431FAF for ; Sat, 23 Mar 2013 05:07:27 -0700 (PDT) Received: by guru.guru-group.fi (Postfix, from userid 501) id 33FC5100209; Sat, 23 Mar 2013 14:07:17 +0200 (EET) From: Tomi Ollila To: notmuch@notmuchmail.org Subject: [PATCH 1/1] devel/STYLE: information how to enable standard pre-commit hook Date: Sat, 23 Mar 2013 14:07:15 +0200 Message-Id: <1364040435-22357-1-git-send-email-tomi.ollila@iki.fi> X-Mailer: git-send-email 1.8.0 Cc: tomi.ollila@iki.fi X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Mar 2013 12:07:28 -0000 It is easier to enable git standard pre-commit hook, when the operation to do so is presented. --- devel/STYLE | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/devel/STYLE b/devel/STYLE index 0792ba1..92de42c 100644 --- a/devel/STYLE +++ b/devel/STYLE @@ -45,8 +45,9 @@ function (param_type param, param_type param) - likewise, there is a space following keywords such as if and while - every binary operator should have space on either side. -* No trailing whitespace. Please enable the standard pre-commit hook - in git (or an equivalent hook). +* No trailing whitespace. Please enable the standard pre-commit hook in git + (or an equivalent hook). The standard pre-commit hook is enabled by simply + renaming file '.git/hooks/pre-commit.sample' to '.git/hooks/pre-commit' . * The name in a function prototype should start at the beginning of a line. -- 1.8.0