Article View: linux.kernel.git
Article #2026Re: sharp edges in Git configuration files
From: "brian m. carlson"
Date: Sat, 31 Oct 2026 17:26
Date: Sat, 31 Oct 2026 17:26
47 lines
10973 bytes
10973 bytes
--hiXt9eqPJgUBBbxj Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2026-10-31 at 02:56:44, Chris Torek wrote: > The obvious thing with "doctor it hurts when I do this" is of course > "well don't do that", and nobody should be splitting their .git/config > into multiple included sub-config-files. But, in the spirit of robust > software (and perhaps just as leftover bits?), it might be wise to > make Git ignore include lines in config files that are intended to be > Git-managed directly, such as .git/config. I actually believe we're using includes for `.git/config` in some cases at work and I'm pretty sure my colleagues do want them to continue to work. I don't know exactly why they're doing that, since I'm not intimately involved with that project, but I will point out that our fork of Git has a checksum that includes the `config` file (but not included files) and that must be in sync across replicas, so they may be doing so to test out a config setting on a particular host during development. In any event, I'd say that while it may seem bizarre, some people might want to do this for other reasons[0], so we probably shouldn't break it. [0] One reason I can imagine is personal configuration (via `path=3D~/...`) in large shared repositories. Yes, people shouldn't be doing that, but we know they do. --=20 brian m. carlson (they/them) Toronto, Ontario, CA Speaking for myself only --hiXt9eqPJgUBBbxj Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- wr0EABYKAG8FgmrmJNsJEHwMSWKIh6KBRxQAAAAAAB4AIHNhbHRAbm90YXRpb25z LnNlcXVvaWEtcGdwLm9yZzIl68wtEImqoAUiIJObv7LlRfQfaKt1Xr5RYMdDvBwQ FiEECCzmip28ZfuD0cORfAxJYoiHooEAAGqTAQCjGgYYmlEDksu5yi/92C14he24 qQr81ukpnu9sPDBkYQEA5pgi7uaDjgPvnAsCERl2DsHqobjtVRQUOw03QqxSUQo= =OGqa -----END PGP SIGNATURE----- --hiXt9eqPJgUBBbxj--
Technical Details
Message-ID:
<auYk201o4foYWl2d@fruit.crustytoothpaste.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!git+bounces-74025-linux-kernel-git=dewy.ruReferences:
<CAPx1Gvd3rAcgDf-rBPOuZFf2=Y+=JxJDdr6AJTvdtpL6Vsk43w@mail.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-74025-linux-kernel-git=dewy.ru
From: sandals@crustytoothpaste.net ("brian m. carlson")
Newsgroups: linux.kernel.git
Subject: Re: sharp edges in Git configuration files
Date: Sat, 31 Oct 2026 17:26:52 +0000
Organization: Usenet Network
Message-ID: <auYk201o4foYWl2d@fruit.crustytoothpaste.net>
References: <CAPx1Gvd3rAcgDf-rBPOuZFf2=Y+=JxJDdr6AJTvdtpL6Vsk43w@mail.gmail.com>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
protocol="application/pgp-signature"; boundary="hiXt9eqPJgUBBbxj"
Injection-Info: usenet.network;
logging-data="2509115"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:NZX7dZ2pyNk9N+CMuLeNwbX3KWg= sha256:9HW+06vfDU99bNmgymtI7+m4MQfd4ojq5tD3LhIQUBk=
sha1:uZ5egFRdP2X5e7v75rVZ1+A7r+w= sha256:5+clstj1AXscc1Q0HBgwhA5HqA171BhWlVAeaJoW3xA=
Content-Disposition: inline
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 15C86125CB8; Sat, 31 Oct 2026 20:27:20 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.05
X-Spam-Status: No, score=-3.05 tagged_above=-9999 required=6.31
tests=[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] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (3072-bit key)
header.d=crustytoothpaste.net
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 1lWlPuLywKw4;
Sat, 31 Oct 2026 20:27:18 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=git+bounces-74025-linux-kernel-git=dewy.ru@vger.kernel.org; receiver=<UNKNOWN>
X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=crustytoothpaste.net
X-Received: from sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4])
by mail.dewy.ru (Postfix) with ESMTPS id 90135125CB6; Sat, 31 Oct 2026 20:27:07 +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 057E522285; Sat, 31 Oct 2026 17:27:05 +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=1793467622;
b=uZ7KFMdzkfCjF5iLq1l7OJNUZ46x9im6+g19HyUAVkK2BUKlGb6CAsVuRMNclomqqZDB
IeNTEy6y2dAQMV6QG8iduIitprpuWXpC829ERGigF3eZxpwm5rftWQ/6OyNPXvGjSv7r0
srzZyoT/QvNLQ74TylibjRgx/PkWiJb5ZtL4AbzyEenRjWNC7SLCPq9MnwVwE+bqeufQ9
LqMG25qDdO6y7ohZq7krdbN7bXvYTq299IkEZDlXVSQY6A2zMF4joDkI/jGSsBgQInX8F
35T0prhdLsTfyoqL2vBZyD9WNMcFR4zHEX2Ir5hZ3+3DAU+AkGTnQxlD6fHTCe7gG3g==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1793467622;
h=X-Original-To:Received:DMARC-Filter:DKIM-Signature:Received:Date:
From:To:Cc:Subject:Message-ID:Mail-Followup-To:References:
X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
List-Unsubscribe:List-Owner:Precedence:MIME-Version:Content-Type:
Content-Disposition:In-Reply-To:User-Agent;
bh=QqCqhs884jZb1X76BgzsnZr9Zi0xRI124fXaGtnu+ak=;
b=COtXif1N//zOXUh2cFxOXAnbifSgtzR56pVI0q+sdZNCOQLdhCOSMDpjXrczftFhAQ9b
6Rkl+pcJ8wyEEDAA3FeV1+iz3HHgcdYadAaIBk6oJZ2bZTFiD9Izdnp8tcr4fOXXxj/YI
1m1BETfd/FdNcoQTYzsfO1Vo9lM502QBfLmUIqrprH+SSNcvWHnhINQrzT1wG6YIjOH1O
kUGmnEwxKrXsX6u9UUaSy+D4wrJY/tunaUjf/0GfTcljn443gvMV44k8qHL6+v+5FrE0j
zfDCSuVq9ArdTjRy9QO+gW5AZQjMusi6kJ/RDte3PJNLGXmRxp7o8zrUhgfOZhQHiKQ==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org;
dkim=pass header.d=crustytoothpaste.net header.i=@crustytoothpaste.net header.a=rsa-sha256 header.s=default header.b=blYGavRY;
dmarc=none header.from=crustytoothpaste.net;
spf=pass smtp.mailfrom=crustytoothpaste.net;
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 2505D606A322;
Sat, 31 Oct 2026 17:27:02 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (3072-bit key, unprotected) header.d=crustytoothpaste.net header.i=@crustytoothpaste.net header.a=rsa-sha256 header.s=default header.b=blYGavRY
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=172.105.7.114
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
t=1793467621;
b=kRefOv0p057AzSixBvoFEiYACE0nnNaQhZx4KtjsM52IqlSw+NCOQLCcoQGPQbyk/tmN
WR69Hjhw1Ky0bPAUBakfH5UyO4FY6PshEDTwoQW1cJXIuxq/0LowEURbHFem/dQz3px2N
nT0++HF/klUaIx9SVGsRDV3WtzPgHylfPUh6q/UTM+jHG+qqikIBrg3jU5Df7OUVZdA5d
bO/sTdtbrNR6rOeWm9oHoKV6WboMYXzYh5q+gROhWOcWDf87YZrqrGJJWvKXtCdYtC+3i
dRRUDK9G5ABD2vAkzxDo8I7sTuWX53Ru/3UWYc9JystSEpqIZnYE0DEEbwRzv49RCnw==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1793467621;
h=DMARC-Filter:DKIM-Signature:Received:Date:From:To:Cc:Subject:
Message-ID:Mail-Followup-To:References:MIME-Version:Content-Type:
Content-Disposition:In-Reply-To:User-Agent;
bh=QqCqhs884jZb1X76BgzsnZr9Zi0xRI124fXaGtnu+ak=;
b=qfR+BvFk0rDKlQRBqT7N9mxxWwObTHpGiWGLu2wYc2SX4rNDOcozHWjm5B5J8l2LbhF+
dG82LKrv/LG9/63Ze4isXqgn2KtUTReQpP6/LaDDfoNSjUPdPj6omlKMhbe4QE/xH2/wS
/zT9jloevnRia145WQ7YxnTS5+2JYUHvKuygCJx9+mbY77I6Qb9nCSzBVS+lrtHqSyFsw
x92tdJJRgQL0jlYwk+eXI37A3LQveLNNrHMoc2xIRTZxfZsSxngH8dyzG+uXTtIHsZpDa
l0BVqEmlyEt5uEK76ZyXMnISmLKGGcY+rLWmd2x/I9X8fO2jOrzZirLvYkvMsxQHtfg==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org;
dmarc=none header.from=crustytoothpaste.net;
spf=pass smtp.mailfrom=crustytoothpaste.net;
dkim=pass header.d=crustytoothpaste.net header.i=@crustytoothpaste.net header.a=rsa-sha256 header.s=default header.b=blYGavRY;
arc=none smtp.remote-ip=172.105.7.114
X-Received: from complex.crustytoothpaste.net (complex.crustytoothpaste.net [172.105.7.114])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id 08A64606A31A
for <git@vger.kernel.org>; Sat, 31 Oct 2026 17:26:59 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 08A64606A31A
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=crustytoothpaste.net
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=crustytoothpaste.net
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=crustytoothpaste.net;
s=default; t=1793467613;
bh=ZaYBpURHXS7ad44Iyre3JDFOHDvy9ptpHJ0vIAx+H0A=;
h=Date:From:To:Cc:Subject:References:Content-Type:
Content-Disposition:In-Reply-To:From:Reply-To:Subject:Date:To:CC:
Resent-Date:Resent-From:Resent-To:Resent-Cc:In-Reply-To:References:
Content-Type:Content-Disposition;
b=blYGavRYJV4ju2XR8LGbQC9WiRLxWupscR0IyjFYgLPg3uWKHQ2qPoOV0N1jY9dgP
bAvIYLdN1RsnuW4UH6QWB+dZCnNENWD/WmWug7YW2MdhcwWYAJ1euVGObfJwS6fRS9
/eD5ZsEjYIij1YMMg7ws6gQuInZVb0LjRWap6FOY/bvxqgAMbDukiql1r1zAZ6n2li
yxWrd/dBHnPQrtU0X2xridNkKNIXFxBXyBMLIPedvhRHAScEXUqvWUPhfZ6Xe/32v+
jt+bz24iXZ6cZnnt3iDx1N0BxT5skW5efb0RRicvts6FMxSKsLTDy18Y+5s4ZjLsC1
Ra5hUwMIlfWnikiTdAVXDxGEPg5VfYhsS8cATT8P6JDySbJBSBHqEDwwmR2v5lqPoN
qBTTKmgtZhgwKAczOXR4ma82GJIe29kdoax+YslWaN+Tqg+4F9Jkt3smsohfSrBHTT
8QQOkcFgaZ5ODxucOP50JShZ31LadEUuCmyrO6Aq+8mgwcVvedk
X-Received: from fruit.crustytoothpaste.net (unknown [IPv6:2607:f2c0:f00f:f901:77df:eff4:b627:e9c4])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange ECDHE (prime256v1) server-signature ECDSA (prime256v1) server-digest SHA256)
(No client certificate requested)
by complex.crustytoothpaste.net (Postfix) with ESMTPSA id 8F30B2008B;
Sat, 31 Oct 2026 17:26:53 +0000 (UTC)
X-Cc: Git List <git@vger.kernel.org>
X-Mail-Followup-To: "brian m. carlson" <sandals@crustytoothpaste.net>,
Chris Torek <chris.torek@gmail.com>, Git List <git@vger.kernel.org>
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
X-In-Reply-To: <CAPx1Gvd3rAcgDf-rBPOuZFf2=Y+=JxJDdr6AJTvdtpL6Vsk43w@mail.gmail.com>
X-User-Agent: Mutt/2.4.1 (2026-07-04)