Article View: linux.kernel.git
Article #4027Re: [PATCH v2] remote.c: defer remote.<name>.followRemoteHEAD validation
From: "Matt Hunter"
Date: Sat, 28 Nov 2026 08:44
Date: Sat, 28 Nov 2026 08:44
20 lines
9155 bytes
9155 bytes
On Sun Nov 8, 2026 at 4:45 PM EST, Colin Hinton wrote: > I prefer Matt's approach as I agree it's cleaner and simpler by > removing the setup at the call site. I'll adopt it into my next > version and will give credit to Matt for his contribution. > > I am still holding on to the re-roll until hn/fetch-refmap is accepted > into 'next', so that I can rebase and resolve any conflicts myself. > Junio, if you think there is a better branch for me to base this off > of so that I can begin the conflict resolution now please let me know. I don't think it is this topic's responsibility to do so, when it is so close to completion, and especially with what Phillip has said in the other thread [1]. The second refactoring patch that Junio suggested proactively deconflicts to a reasonable degree. [1] https://lore.kernel.org/git/1276fcfe-9f2c-4a2c-ade9-b88f33ae5d84@gmail.com/
Technical Details
Message-ID:
<DN6PMVT20638.3D2CG0PJ6RIXX@lfurio.us>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!git+bounces-76580-linux-kernel-git=dewy.ruReferences:
<20261018235508.848-1-colinlewishinton@gmail.com> <20261023185007.21642-1-colinlewishinton@gmail.com> <xmqqecdezfr1.fsf@gitster.g> <CAHeTm9NOqLA=BfTU9ABDFt8+jOzaRDPRrMNP8thzAQN2NVZAew@mail.gmail.com> <xmqqmrrxdhox.fsf@gitster.g> <DMHZCS9LOW3N.ZJ3947HUCXZ8@lfurio.us> <xmqq33tnz0hb.fsf@gitster.g> <DMJFKJCI5DLL.12R7AMFO4DK2Y@lfurio.us> <xmqqjymqobc3.fsf@gitster.g> <DMO0XC1PL4MP.1J5830XZ4GCS5@lfurio.us> <xmqq1p8ylywh.fsf@gitster.g> <CAHeTm9M5maWM=yrJPNzCibv_rewH3-yBK8J5-MDyDvPzfihe4A@mail.gmail.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!git+bounces-76580-linux-kernel-git=dewy.ru
From: m@lfurio.us ("Matt Hunter")
Newsgroups: linux.kernel.git
Subject: Re: [PATCH v2] remote.c: defer remote.<name>.followRemoteHEAD
validation
Date: Sat, 28 Nov 2026 03:44:34 -0500
Organization: Usenet Network
Message-ID: <DN6PMVT20638.3D2CG0PJ6RIXX@lfurio.us>
References: <20261018235508.848-1-colinlewishinton@gmail.com>
<20261023185007.21642-1-colinlewishinton@gmail.com>
<xmqqecdezfr1.fsf@gitster.g>
<CAHeTm9NOqLA=BfTU9ABDFt8+jOzaRDPRrMNP8thzAQN2NVZAew@mail.gmail.com>
<xmqqmrrxdhox.fsf@gitster.g> <DMHZCS9LOW3N.ZJ3947HUCXZ8@lfurio.us>
<xmqq33tnz0hb.fsf@gitster.g> <DMJFKJCI5DLL.12R7AMFO4DK2Y@lfurio.us>
<xmqqjymqobc3.fsf@gitster.g> <DMO0XC1PL4MP.1J5830XZ4GCS5@lfurio.us>
<xmqq1p8ylywh.fsf@gitster.g>
<CAHeTm9M5maWM=yrJPNzCibv_rewH3-yBK8J5-MDyDvPzfihe4A@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Injection-Info: usenet.network;
logging-data="915682"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:Ps2ac8s5AHiWciQ2hyXTf0RlonA= sha256:cKpg1ZpPWH+hD4MRAFBuBX1+zgAlVNkN1eDFZYJ2l4Q=
sha1:5JWmNdRb+PHPVAuvQfO2lSi803c= sha256:ityE9bbN/DcnXaGR0gaEQ6XUZM2eHgBhh3MH4Me0vkk=
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 769FE125F71; Sat, 28 Nov 2026 11:45:18 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -1.95
X-Spam-Status: No, score=-1.95 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.249, 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 (1024-bit key)
header.d=lfurio.us
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 R1uAdMKBbPHk;
Sat, 28 Nov 2026 11:45:15 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=git+bounces-76580-linux-kernel-git=dewy.ru@vger.kernel.org; receiver=<UNKNOWN>
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=lfurio.us
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
by mail.dewy.ru (Postfix) with ESMTPS id B9BC5125F6D; Sat, 28 Nov 2026 11:45:06 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
by sea.lore.kernel.org (Postfix) with ESMTP id 6C55029D59; Sat, 28 Nov 2026 08:45:04 +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=1795855504;
b=j5Ujho9aBEAJlxKdoVZ88wcukrgKoqozH2W/ePz8SN+wflQ4D/QIJsobEtEcIduBOz+C
LHD39ErYqzpHBW2b+ocHxvTgLvceyv1URdK9VwX5OG+DRlttri+Xfv2pXU/J9UBKqwJCl
QzM3tJYRHJm01IF3pb7K6wlsLhXc05c8DFfTyCQTIkv5uCozowioUTRFSpzDnIkdL56EK
HJMQTF/dZoMt7Vus1jy3vxt3DSR8YDVNVGKywSpeb7z7XXCiDbGQwS/ZBKlVQdl8NDbFp
9sIUtqS2cmRurgKgd7aNCpkclHFMnq/rGQtUIOJZ1PIh0NvkSWWUyOGcn5eoi67tLAw==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1795855504;
h=X-Original-To:Received:DMARC-Filter:DKIM-Signature:Received:
X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
List-Unsubscribe:List-Owner:Precedence:Mime-Version:
Content-Transfer-Encoding:Content-Type:Date:Message-Id:Cc:To:From:
Subject:X-Mailer:References:In-Reply-To;
bh=AG5eEKmXTyj0OQAJ4OEWKQfP6+70HVBzs0XvNn6BMg8=;
b=oSXXHRqODssElmqSXhoxmpTbkEWjkSvWI9GXXEkXM1C23UI+qSGCetE5u/8m5+30GYFZ
g/DErv9IUvInIAExMPRPGH/lGPpxpjTlukW6RSj/t/yPL4pHETFvFkrky01OBB6podvGg
KGPB107Irlo9/PeyYUZ3XB6yvkWA4X5CUaWfoa3/FJxWk9WhBSfH4+JrXD5T/ogIrapNQ
hAgIIUDg7qcGFAeX7e9YKutrtX51PUb1wPMC3jMGAoQHxn8PGvWp8pYRAOV2/4W4wW2dQ
JcOp0JKPZL/ta0OO54lycrmLjfKO9NtOKEfmpYP07TUmHjinuLB+fGZGShvxRJ6wLuQ==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org;
dkim=pass header.d=lfurio.us header.i=@lfurio.us header.a=rsa-sha256 header.s=default header.b=NA8wu5ze;
dmarc=pass header.from=lfurio.us;
spf=pass smtp.mailfrom=lfurio.us;
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 3E2C3606A321;
Sat, 28 Nov 2026 08:45:04 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (1024-bit key) header.d=lfurio.us header.i=@lfurio.us header.a=rsa-sha256 header.s=default header.b=NA8wu5ze
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=157.230.60.252
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
t=1795855503;
b=zZSdWtPsKyDjl8i7Dgh5rZR5nJIDVXJmGwSXS0Wk+LbvCqJjbjv/9/AVxQrGvDETRtH6
U9TD0G3bgqkoOjsRzx4FQ17QyAUwnLuPuEjp6qr82RoNKcMi4Y4A/LazXKw/WYWJqg2Tw
UVTb58UEEGj6/88yg09SOatBhUmR5wmXUsrctmGmn52IxPWIM067FCcchyKQfDYiWDnmP
eqWStio8iF3nzTa+DZqRtsJqUpdJR/yn7w5M6VY4eV7n8kGDyaup9hx6IyfbTyKjzL3PI
Jh3nnOVg98ynwBnpgzixX8zsCm/QtOBUZvW3mxmOaBd4oh6Qed1lB/2cg0eUtazmjOg==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1795855503;
h=DMARC-Filter:DKIM-Signature:Received:Mime-Version:
Content-Transfer-Encoding:Content-Type:Date:Message-Id:Cc:To:From:
Subject:X-Mailer:References:In-Reply-To;
bh=AG5eEKmXTyj0OQAJ4OEWKQfP6+70HVBzs0XvNn6BMg8=;
b=SGNWKTKvXINcKWSaZQdhd3RaZmxDTZSHN2wQCkvs0CcVRyqllF5XDDU88JjRtoQ3a1qb
EUHYAmhyk6BbRwBYlaG2bUVhm4tSaZIV6aMbwIua3rGAMuqMpYFsf1c+iuhDXcyQQAabv
vRssmKKobUcRrpUMKsHTayOrCrTObr1WiaUWr5xzJcUF6o9tBOW2fToPADBSiZSoO7fgw
O2BheVL+DqjDNWLel9xEdBjhA6V/Oy4uTNGZKzUPU8x+HfHPSkT6pbOvNjtpJ+g5YcB4m
Z9nPuDlSiuDa+/LGUcrWxT4Kb6tqYweCmRyV2uFAXa3jNW8SeL748Bey/ecXwCtkGxw==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org;
dmarc=pass header.from=lfurio.us;
spf=pass smtp.mailfrom=lfurio.us;
dkim=pass header.d=lfurio.us header.i=@lfurio.us header.a=rsa-sha256 header.s=default header.b=NA8wu5ze;
arc=none smtp.remote-ip=157.230.60.252
X-Received: from mail.normalmode.org (h01.normalmode.org [157.230.60.252])
(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 CB8B4606A31C
for <git@vger.kernel.org>; Sat, 28 Nov 2026 08:45:02 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org CB8B4606A31C
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lfurio.us
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lfurio.us
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lfurio.us; s=default;
t=1795855501; bh=AG5eEKmXTyj0OQAJ4OEWKQfP6+70HVBzs0XvNn6BMg8=;
h=Date:Cc:To:From:Subject:References:In-Reply-To:From;
b=NA8wu5zeJOHc3K1x961jrvfMtSkgGuViYhMFFAuqT4YBAyFPbEVFQbKhl7LSvyLMq
VcB1G8A7bbLjtCiO3fS8H6ESwli+GIRJ7q0iGjEV73h3aXWgUbeDUzSAraLwjGJXHF
jVFikJmyRDSbDof47GDhZd/ZCwS2w1fwc06FDKOE=
X-Received: by mail.normalmode.org (Postfix) with ESMTPSA id 6ACB360665;
Sat, 28 Nov 2026 08:45:01 +0000 (UTC)
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-Cc: <git@vger.kernel.org>
X-Mailer: aerc 0.21.0-0-g5549850facc2
X-In-Reply-To: <CAHeTm9M5maWM=yrJPNzCibv_rewH3-yBK8J5-MDyDvPzfihe4A@mail.gmail.com>