Article View: linux.kernel.git
Article #1318Re: [PATCH v2 0/2] Two hook configuration changes
From: Junio C Hamano
Date: Fri, 23 Oct 2026 17:53
Date: Fri, 23 Oct 2026 17:53
23 lines
13602 bytes
13602 bytes
"Thomas Bachem via GitGitGadget" <gitgitgadget@gmail.com> writes: > Two small changes to hook configuration. With the first, > hook.pre-commit.enabled=false also stops the pre-commit hook in the hooks > directory. With the second, hook.*.enabled and hook.*.parallel can be given > without a value, which means true, as for any other boolean. > > Changes since v1: > > * The documentation of hook.<event>.enabled now says that it covers > configured hooks and the hook in the hooks directory alike. The subject > and message of patch 1 present this as a change in behavior rather than a > fix (Adrian, Junio). > > * The test that hook.<event>.enabled=false leaves the hooks of other events > alone now has a hookdir hook too. > > Thomas Bachem (2): > hook: make hook.<event>.enabled cover the hookdir hook > hook: accept .enabled and .parallel given without a value Thanks, the range-diff looks good. Will queue.
Technical Details
Message-ID:
<xmqqh5ic7174.fsf@gitster.g>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!git+bounces-73073-linux-kernel-git=dewy.ruReferences:
<pull.2272.git.1792520353.gitgitgadget@gmail.com> <pull.2272.v2.git.1792761542.gitgitgadget@gmail.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!git+bounces-73073-linux-kernel-git=dewy.ru
From: gitster@pobox.com (Junio C Hamano)
Newsgroups: linux.kernel.git
Subject: Re: [PATCH v2 0/2] Two hook configuration changes
Date: Fri, 23 Oct 2026 10:53:51 -0700
Organization: Usenet Network
Message-ID: <xmqqh5ic7174.fsf@gitster.g>
References: <pull.2272.git.1792520353.gitgitgadget@gmail.com>
<pull.2272.v2.git.1792761542.gitgitgadget@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: usenet.network;
logging-data="571918"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:O6MlSj4ivoMnLo7B6UZBaZDc20s= sha256:6j7tjvllTlnL1uoAjcPq/73pQ6otXvh/jOb70oj2Pl4=
sha1:q3Q/vLP/BDF+RPRsQcHzt+Dprvw= sha256:P1kbeWH+TwujlEucuHrswMVvNBJuyD0w6034lmD1jcA=
List-ID: <git.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
by mail.dewy.ru (Postfix) with ESMTP id 5A8DA111539; Fri, 23 Oct 2026 20:55:07 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -1.949
X-Spam-Status: No, score=-1.949 tagged_above=-9999 required=6.31
tests=[DCC_CHECK=1.1, DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1,
DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
HEADER_FROM_DIFFERENT_DOMAINS=0.25, MAILING_LIST_MULTI=-1,
RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
header.d=pobox.com header.b=a+D/ntbv; dkim=pass (2048-bit key)
header.d=messagingengine.com header.b=AkvGotrD
X-Received: from mail.dewy.ru ([127.0.0.1])
by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id TqBhBqEReJfy;
Fri, 23 Oct 2026 20:55:03 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=git+bounces-73073-linux-kernel-git=dewy.ru@vger.kernel.org; receiver=<UNKNOWN>
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=pobox.com
X-Received: from sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4])
by mail.dewy.ru (Postfix) with ESMTPS id CDC47111516; Fri, 23 Oct 2026 20:54:47 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
by sin.lore.kernel.org (Postfix) with ESMTP id 5D21325DB0; Fri, 23 Oct 2026 17:53:56 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
t=1792778034;
b=VJQnOccwMS/b3j1S4egPxFz1LTGgFCI/n25GxAo1kD5ebR7L586M1QjLUTBluTAYsEXV
qpwpttS+mBvweDYLLSdWDk/xSntLjdqfNnKoWO89XtWHxRVeai0qiYwx270zc904BYn64
U4m26gSG0xqVgNQhyLuKIwYQjA9LSSaMKecmSeJRSaR2DoHcE/J/Dr9ln9QblRERUy3+2
fk3tgkgQeaLc0/iyc7y6cCbmm5LJZZrMPJN3N+pcOcNsSLMeHHf9C1hxrgX9EKEKV4iMk
X+/dpf0y8Ef5eFeBiRuw9QO8SUmutDQM/wuJT/B2aT6ML6BMoEghQrkq+t1GEirBxkg==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1792778034;
h=X-Original-To:Received:DMARC-Filter:Received:Received:DKIM-Signature:
DKIM-Signature:X-DKIM2-Info:DKIM2-Signature:X-DKIM2-Info:
Message-Instance:X-ME-Sender:X-ME-Received:X-ME-Proxy-Cause:
X-ME-Proxy:Feedback-ID:Received:From:To:Cc:Subject:In-Reply-To:
References:Date:Message-ID:User-Agent:X-Mailing-List:List-Id:
List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner:
Precedence:MIME-Version:Content-Type;
bh=Pw+Cpuu67BNR8oEofBlJvQga8oGs6Dp9VEGp5qEK/Cs=;
b=5ZPkQ8x/+JLA34zHA/S5okfgOIVfU9zLw3tLFYCZZxW6LNNr/EiZ6E37sYNihYddvpe+
Plq7ka9QHGSsOAVX3Y8NyF+s705qjkLUEszHYbxGMzGNLRJNcS4eQiqrnJ2fPkbzAB1Xr
dmcMraZ0dpeg/UQoEBN11Fvz3pwPxyAG3LCDp+x/mIKgKxfYvTsIO/0bAgMlKZYr+Ez8F
W821oIZRgmBtc8iiIMsfOfIGtnVn6YSxJmwcLQl8bBhsg7XeS2RqVY/pJEiNtB1THB9It
oVmjeecbjXoCjvLFvp+AT8oMCNDEilYoP4M92rc3AdjkkTfOHP+QfQCYObrsEb5AP9A==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org;
dkim=pass header.d=pobox.com header.i=@pobox.com header.a=rsa-sha256 header.s=fm1 header.b="a+D/ntbv";
dkim=pass header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm2 header.b=AkvGotrD;
dmarc=pass header.from=pobox.com;
spf=pass smtp.mailfrom=pobox.com;
arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
by smtp.subspace.kernel.org (Postfix) with ESMTP id B3F93606A328;
Fri, 23 Oct 2026 17:53:54 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key, unprotected) header.d=pobox.com header.i=@pobox.com header.a=rsa-sha256 header.s=fm1 header.b=a+D/ntbv;
dkim=pass (2048-bit key, unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm2 header.b=AkvGotrD
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=103.168.172.147
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
t=1792778033;
b=dvSKvhLNy8jyqmXtRGYWgN2NqICadAE+I6TDDhQJ1wFGQ1dOgtGcJngD3/X103Bgrd4L
tbYBA19eK4OKELMZ8o0myInfxr/pHC6DGC1ofyIsaBbTsgxugu9SGVCQWquHqJZmImTg4
vbjL9n1xEdyux6uuf0nmGXTbAfxwTpIoSsgpKcbb8x/5c/aVlYRD2MfceDeq/5+2xAbkL
9hLl4s+CAsXydCGugqfE5XAWmqiz88inVHnvpkbZzqCn2ZL+zjx71ID0zS3gdd2t42SBT
zQDuxXjV3rKi6b0/AX1J/nRnAeBMis8oJV/4fWnWbs34vp1DpKVhJI4iggMxGXERd+w==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1792778033;
h=DMARC-Filter:Received:Received:DKIM-Signature:DKIM-Signature:
X-DKIM2-Info:DKIM2-Signature:X-DKIM2-Info:Message-Instance:
X-ME-Sender:X-ME-Received:X-ME-Proxy-Cause:X-ME-Proxy:Feedback-ID:
Received:From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID:
User-Agent:MIME-Version:Content-Type;
bh=Pw+Cpuu67BNR8oEofBlJvQga8oGs6Dp9VEGp5qEK/Cs=;
b=AqwV22mTDaYbPL5NtWYaa3iSsEG7AMjbW+GDs9a1aF3hlGD5uQS3GD05RGB9iNe4ZkBL
hy2QtHGm37uAkJ7Q+YWJfuQWW5zjJSCaiLUvwQwLtlp9RjNN2DuiCqqS0AH0N8TN47wf1
LmQS70JxykrsUlV7FbUSOql1tOp4CC634tH74c8Z9seVXGDk8qBsfTGsvsSYuPvBrEPrW
qFLHkbsrc6Ow3P+OtbtuODRlZjQ0d+7tUO+SSfOO0DoBUNC+pUOSWJIUh83WKSfR0GiDe
2ybuULR32JSRqwzHQKOJwqa/qzAm5ns4LP8J+OEInD854GQw8nOr4MLvWLGfp0qnxqQ==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org;
dmarc=pass header.from=pobox.com;
spf=pass smtp.mailfrom=pobox.com;
dkim=pass header.d=pobox.com header.i=@pobox.com header.a=rsa-sha256 header.s=fm1 header.b="a+D/ntbv";
dkim=pass header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm2 header.b=AkvGotrD;
arc=none smtp.remote-ip=103.168.172.147
X-Received: from fout-a4-smtp.messagingengine.com (fout-a4-smtp.messagingengine.com [103.168.172.147])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature ECDSA (prime256v1))
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id 74309606A32C
for <git@vger.kernel.org>; Fri, 23 Oct 2026 17:53:53 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 74309606A32C
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=pobox.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pobox.com
X-Received: from phl-compute-04.internal (phl-compute-04.internal [10.202.2.44])
by mailfout.phl.internal (Postfix) with ESMTP id AABDAEC0183
for <git@vger.kernel.org>; Fri, 23 Oct 2026 13:53:52 -0400 (EDT)
X-Received: from phl-frontend-02 ([10.202.2.161])
by phl-compute-04.internal (MEProxy); Fri, 23 Oct 2026 13:53:52 -0400
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pobox.com; h=cc
:cc:content-type:content-type:date:date:from:from:in-reply-to
:in-reply-to:message-id:mime-version:references:reply-to:subject
:subject:to:to; s=fm1; t=1792778032; x=1792864432; bh=Pw+Cpuu67B
NR8oEofBlJvQga8oGs6Dp9VEGp5qEK/Cs=; b=a+D/ntbvnWGoovESAcyY3vr3Ca
Ue5k1SfryyXltwI+vwraNbkRw/Mf1l479VeVXD07zd2rnBdm7d+HAp0Wl424lVWA
lCzshodBeFxRVHJuDMeFV61QypSEx1YdRP5h/iUZV627Gvre+OHZWAR9sm3H+h3b
o3rTWQzJEPQ4K8eg9wN0/tAo72ildZd1BM0mLXsweV9hFhI/f3U7ds49+dMNTv0t
QiGCKuThNs+hNWk32H4sAmVXVGd08/Q0MJY5sLup8Lp4/Dj2/Q55mG2suU8NPdU6
Oq1/2BUJpfiECX7p8f3puSrMnBnVmNJCh73HQ9asvlEnj+AQHNUL8kL9+cCg==
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
messagingengine.com; h=cc:cc:content-type:content-type:date:date
:feedback-id:feedback-id:from:from:in-reply-to:in-reply-to
:message-id:mime-version:references:reply-to:subject:subject:to
:to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=
1792778032; x=1792864432; bh=Pw+Cpuu67BNR8oEofBlJvQga8oGs6Dp9VEG
p5qEK/Cs=; b=AkvGotrDzpzmLEuPVnqV/HS0dt0c0TXm0KyMBQ6lfAVQwsKST3v
ZQ+g6wXIquTzbSya17BAKvdLBOK1IRAK0ZEspINbcXycRm9VApArgfOheRsvgyyi
S5zmeaVrLG0bU1iD9f+fFCldcRpxtAS2bzmfvhmYLXlh88fw3Nn59IPT/QEp2cz0
CA/rIs9WEUv/K/eZEfHw9p5H7kDT07pzlOF9WRhAVVOv2fZ5soXhBQNEwzdneF9W
maZvkZ1b1e90QSqtIT8wQ+VCb7VB+IUyQuoRT/C4HQxk8VvAYJAjhCCWiS+rYNM0
REoiebWoL9Ry0kNm2jlrj/PNu+kzW4bs/lA==
X-DKIM2-Info: draft=ietf-dkim-dkim2-spec-07;
repo=github.com/dkim2wg/interop; date=2026-10-18; sw=lmtpprox;
action=sign d=pobox.com a=rsa-sha256;
X-DKIM2-Signature: i=1; m=1; t=1792778032; d=pobox.com;
mf=PGdpdHN0ZXJAcG9ib3guY29tPg==;
rt=PGdpdEB2Z2VyLmtlcm5lbC5vcmc+;
s=fm1:rsa-sha256:joU/8wrr8ynaL1HNt2Pj6X/xTap6w5w3A9UxrO/41v0J1+q
Y6sbhJf92Jb+bKpSjGFqjZPjIcbRuCCYxZ01M+VoPgzilz5xgQenaPtDrfdp32u9
/EpObjKp8ljcalMSpdeKr8TcbbbHOzZqq5M2nVDn27Z8XPhClrApAZX3ggzXBMX2
cuKePIkFxbeGA+adpdBXOg/lk0Jn4R4tf4FTYl/SLeLwvUGT9HQ+BN19HGUlDcYD
aVC3do1NIGzwF4S3pCBNNsJ4OHBbL2OeUN/b6Wt3408rwKvKBrUo2bM8CDPWbfwB
pP0+XbUS0zCHzXdgjpqP/9sMGyP3IApOavzquCw==;
X-DKIM2-Info: draft=ietf-dkim-dkim2-spec-07;
repo=github.com/dkim2wg/interop; date=2026-10-18; sw=lmtpprox;
action=mi-m=1; hc=12;
hn=cc,content-type,date,feedback-id,from,in-reply-to,message-id,
mime-version,references,subject,to,user-agent;
X-Message-Instance: m=1; h=sha256:2tWGm51HAAQOy/emK5HGI0wV7lG8ZATI77TTwtovfSs=:9xsFee+5ZPtx9WGLbDK1NuqEEtdBAvMDvLr/2+dzl0s=;
X-ME-Sender: <xms:MJ_balHMppAeVy672Pr4MvqU7WrXTj0MC8YIrMEWlZB_Twi58d-qTQ>
<xme:MJ_basnIDwqvz5PPYt8rK2cvUsEGeK59kvUoJnVybar1CK4SKW8hU0UOVF2qiMh5V
V1u7XtcEhTxagTQvf18UH0D22vq38P_KMelY5lsEceoHVHSNsLkVM4>
X-ME-Received: <xmr:MJ_bapbvrMk4rCv2vruLw8RUfL48jPo_H2rVEDwNfkRGA8VrOxo8UA4GPpQcC5zvTXv3H0wTsCoF5NfloHMWHmcD78nLUNiy9i30>
X-ME-Proxy-Cause: dmFkZTFhzS9jZ1H0Q1sU1GI2sQpxYXdk/7E5xXw429FfIPkdPD9FtB9X3fNfjWPwc0FQGc
KkN0vxbhVPtdzLspxRhXAxH486Hnni9l70vxJEKlTeXaiQuG/KGDRmx+AYCxCQ1KaPIiDA
WMvBipFCIXTCHLmJPKC01sE9sD8Z2H4UmWT46oEaPtbJCYppmXQZce3k+KEKbN7nYEYnqH
ehPYk50sf5Zfb6YveWqB01Gb9cm/OX4XAMwxK0EUehGFFH+U42EJ3nQM0bJ91hYETh7L6g
ZsqgrDLCoe8sMHyxDFL5FAqYSPTH7eAOS+MGS1/hDjom4J1ueRTXQkHJ6vvB+gjvFwFxhS
N4AzGj9HwymTA13c1MrS6hM7J0hcGQmfnuN6Xii/cnU4fnxylKlq11btoksBnvIYuCqanI
QltHh/5uD5Ne+/PuLfvxHkiIKEDAxYT9lrOvpM9UHiu7Ezzv6zVNLvtfJfdoYpH9BeQDHb
3ecS1APB4vhmvz5lWI5S92supoDEmhsL1JaPK4B5f9PVGO1vExkffe2s6lZajh2ap2yScS
4qmy4ZfIFc8tSIJy/Q4zwJ1htwaIgZE9p8Z+jhmM6suY+Fi8CTsj6gvbbPZxRn7FCCpOL2
dHjCKVWJL1ws5Vlzy4IhEL7aR0s/nkE8yJ0qnCOiz4h3xqlWLQkrsE4k6v6g
X-ME-Proxy: <xmx:MJ_bahE12r4OwxqDYhU77chx2SIltf6aklA7Ek_2E3nGjotSHI_mnQ>
<xmx:MJ_baqKy9j9hcoTnuHRomAfCt69gvtfafTjaUs4_IQMt367ItTTCYg>
<xmx:MJ_basP6LFw1q-J_eOyLx3bRvDsYN2HFJ-JpveD9LTqoRzD4fdBTgg>
<xmx:MJ_baqlSEGISNCoIKCrdfJhSpVCaRDHk14W50ap0Xgfum0_w5SdYYg>
<xmx:MJ_baj07t1JYyk2WJD06UW8jT3PtbKuZ4Np3fTKbzzH_0Oa6dtOnPklg>
X-Feedback-ID: if26b431b:Fastmail
X-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri,
23 Oct 2026 13:53:51 -0400 (EDT)
X-Cc: git@vger.kernel.org, Adrian Ratiu <adrian.ratiu@collabora.com>,
Patrick Steinhardt <ps@pks.im>, Emily Shaffer <nasamuffin@google.com>,
Thomas Bachem <mail@thomasbachem.com>
X-In-Reply-To: <pull.2272.v2.git.1792761542.gitgitgadget@gmail.com> (Thomas
Bachem via GitGitGadget's message of "Fri, 23 Oct 2026 13:19:00
+0000")
X-User-Agent: Gnus/5.13 (Gnus v5.13)
X-Mailing-List: git@vger.kernel.org
X-List-Post: <mailto:git@vger.kernel.org>
X-List-Help: <mailto:git+help@vger.kernel.org>
X-List-Subscribe: <mailto:git+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:git+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:git+owner@vger.kernel.org>
X-Precedence: list