From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_PASS, SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by dcvr.yhbt.net (Postfix) with ESMTP id ABC8B1F55B for ; Mon, 25 May 2020 23:35:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388373AbgEYXe7 (ORCPT ); Mon, 25 May 2020 19:34:59 -0400 Received: from smtp-1.his.com ([216.194.195.13]:38861 "EHLO smtp-1.his.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387888AbgEYXez (ORCPT ); Mon, 25 May 2020 19:34:55 -0400 Received: from localhost (localhost [127.0.0.1]) by smtp-1.his.com (Postfix) with ESMTP id A675F609CD for ; Mon, 25 May 2020 19:27:52 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at smtp-1.his.com Received: from smtp-1.his.com ([127.0.0.1]) by localhost (smtp-1.his.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hxpQMWmjpu8o for ; Mon, 25 May 2020 19:27:49 -0400 (EDT) Received: from smtp-nf-201.his.com (smtp-nf-201.his.com [216.194.196.93]) by smtp-1.his.com (Postfix) with ESMTP id 24A68609A0 for ; Mon, 25 May 2020 19:27:49 -0400 (EDT) Received: from cuda201.his.com (cuda201.his.com [216.194.196.22]) by smtp-nf-201.his.com (Postfix) with ESMTPS id 654D0609C9 for ; Mon, 25 May 2020 19:27:48 -0400 (EDT) X-ASG-Debug-ID: 1590449268-061c4120522f25f0001-QuoKaX Received: from smtp-nf-202.his.com (smtp-nf-202.his.com [216.194.196.20]) by cuda201.his.com with ESMTP id 8LQO3y8gYiNisveo for ; Mon, 25 May 2020 19:27:48 -0400 (EDT) X-Barracuda-Envelope-From: keni@his.com X-Barracuda-RBL-Trusted-Forwarder: 216.194.196.20 Received: from zproxy101.his.com (zproxy101.his.com [18.218.2.49]) by smtp-nf-202.his.com (Postfix) with ESMTPS id EB8A1601CD for ; Mon, 25 May 2020 19:27:47 -0400 (EDT) Received: from localhost (localhost.localdomain [127.0.0.1]) by zproxy101.his.com (Postfix) with ESMTP id B4C3E177EA9; Mon, 25 May 2020 19:27:47 -0400 (EDT) X-Barracuda-RBL-IP: 18.218.2.49 X-Barracuda-Effective-Source-IP: zproxy101.his.com[18.218.2.49] X-Barracuda-Apparent-Source-IP: 18.218.2.49 Received: from zproxy101.his.com ([127.0.0.1]) by localhost (zproxy101.his.com [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id LeXE4tLhfzD2; Mon, 25 May 2020 19:27:47 -0400 (EDT) Received: from localhost (localhost.localdomain [127.0.0.1]) by zproxy101.his.com (Postfix) with ESMTP id 9C65B177ED4; Mon, 25 May 2020 19:27:47 -0400 (EDT) X-Virus-Scanned: amavisd-new at zproxy101.his.com Received: from zproxy101.his.com ([127.0.0.1]) by localhost (zproxy101.his.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 62BTyMVZJKwx; Mon, 25 May 2020 19:27:47 -0400 (EDT) Received: from wings.local (pool-74-96-209-77.washdc.fios.verizon.net [74.96.209.77]) by zproxy101.his.com (Postfix) with ESMTPSA id 7CED2177EA9; Mon, 25 May 2020 19:27:47 -0400 (EDT) Received: from wings.fios-router.home (localhost [127.0.0.1]) by wings.local (8.15.2/8.15.2/Debian-10) with ESMTP id 04PNRkXi021152; Mon, 25 May 2020 19:27:46 -0400 Received: (from keni@localhost) by wings.fios-router.home (8.15.2/8.15.2/Submit) id 04PNRkj7021151; Mon, 25 May 2020 19:27:46 -0400 From: Kenneth Lorber To: git@vger.kernel.org Cc: keni@his.com Subject: [RFC PATCH v2 1/6] doc: Tell the glossary about core.hooksPath Date: Mon, 25 May 2020 19:27:22 -0400 X-ASG-Orig-Subj: [RFC PATCH v2 1/6] doc: Tell the glossary about core.hooksPath Message-Id: <20200525232727.21096-2-keni@his.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200525232727.21096-1-keni@his.com> References: <1589681624-36969-1-git-send-email-keni@hers.com> <20200525232727.21096-1-keni@his.com> X-Barracuda-Connect: smtp-nf-202.his.com[216.194.196.20] X-Barracuda-Start-Time: 1590449268 X-Barracuda-URL: https://spam.his.com:443/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at his.com X-Barracuda-Scan-Msg-Size: 1490 X-Barracuda-BRTS-Status: 1 X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=6.0 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.82102 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org The user manual glossary entry for hooks now knows about core.hooksPath. Signed-off-by: Kenneth Lorber --- Documentation/glossary-content.txt | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Documentation/glossary-content.txt b/Documentation/glossary-content.txt index 090c888335..37147db1bc 100644 --- a/Documentation/glossary-content.txt +++ b/Documentation/glossary-content.txt @@ -206,10 +206,12 @@ for a more flexible and robust system to do the same thing. to optional scripts that allow a developer to add functionality or checking. Typically, the hooks allow for a command to be pre-verified and potentially aborted, and allow for a post-notification after the - operation is done. The hook scripts are found in the - `$GIT_DIR/hooks/` directory, and are enabled by simply - removing the `.sample` suffix from the filename. In earlier versions - of Git you had to make them executable. + operation is done. The hook scripts are found in `$GIT_DIR/hooks/` + or in any directory specified by the `core.hooksPath` configuration + variable. The sample scripts are enabled by simply + removing the `.sample` suffix from the filename. In earlier versions + of Git you had to make the sample scripts executable manually. + Hook scripts must be executable. See linkgit:githooks[5] for details. [[def_index]]index:: A collection of files with stat information, whose contents are stored -- 2.17.1