🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.git
Article #3592

Re: [RFC PATCH] submodule: make '^/' work like '../' but with an absolute path

#3592
From: Junio C Hamano
Date: Sun, 22 Nov 2026 19:04
28 lines
13736 bytes
Junio C Hamano <gitster@pobox.com> writes:

> Stanislav Aleksandrov <lightofmysoul@gmail.com> writes:
>
>> Thanks for fixing the test number. The t7428 squash looks good to me,
>> please squash it in.
>
> I'll keep them separate, as the fix-up will become unnecessary as
> long as you remember the need for it when the patch leaves RFC
> status; the test number crashing would not be the only thing that
> needs fixing, I presume.

The thread went dark after this exchange.  Re-reading the main
thread of the review conversation, Jacob's review [*] does sound
like a strong enough endorsement that thought the design issues
through, so I am inclined to say I can do the proposed squash and
mark the topic as ready for 'next'.

Please holler if any heavy submodule users (I do not qualify myself)
find the new behaviour problematic before I merge the topic down.

Thanks.


[Reference]

 * https://lore.kernel.org/git/CA+P7+xo8J_+3QECoGHnN1AxXPpjaKaHp3VoN9EEcyhZ+Q1fzew@mail.gmail.com/
Technical Details
Message-ID: <xmqqzev0k7ro.fsf@gitster.g>
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-76097-linux-kernel-git=dewy.ru
References: <20260929185122.3127574-1-lightofmysoul@gmail.com> <xmqqmrrzkppq.fsf@gitster.g> <20261030150739.3855910-1-lightofmysoul@gmail.com> <xmqq1p9550ic.fsf@gitster.g>

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-76097-linux-kernel-git=dewy.ru
From: gitster@pobox.com (Junio C Hamano)
Newsgroups: linux.kernel.git
Subject: Re: [RFC PATCH] submodule: make '^/' work like '../' but with an
 absolute path
Date: Sun, 22 Nov 2026 11:04:11 -0800
Organization: Usenet Network
Message-ID: <xmqqzev0k7ro.fsf@gitster.g>
References: <20260929185122.3127574-1-lightofmysoul@gmail.com>
	<xmqqmrrzkppq.fsf@gitster.g>
	<20261030150739.3855910-1-lightofmysoul@gmail.com>
	<xmqq1p9550ic.fsf@gitster.g>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: usenet.network;
	logging-data="3704420"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:G3RVDcxh7v7BpqQIjTZNI93ScW4= sha256:DR3JKkc+84mK7F0HrcKfnceleA7aSvt4VgalOUXnYsU=
	sha1:6Pgjzh54s+udvGdk4/HVq/4CtV4= sha256:uJnMZ4UILX6TqMYvhp1aa1IhowmGkYn/7V4O2GLfqAY=
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 E6121125D81; Sun, 22 Nov 2026 22:04:44 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -2.551
X-Spam-Status: No, score=-2.551 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.249,
	MAILING_LIST_MULTI=-1, PDS_BTC_ID=0.499, 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=C146VkKO; dkim=pass (2048-bit key)
	header.d=messagingengine.com header.b=km4yv6c/
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 HX7Uoulq5xEW;
	Sun, 22 Nov 2026 22:04:40 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=git+bounces-76097-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 sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id ED66B125D7F; Sun, 22 Nov 2026 22:04:26 +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 2878428CC3; Sun, 22 Nov 2026 19:04:17 +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=1795374256;
	b=DRyIflIpjXB48eyQAxHNcarlsSr5JENtUPwUQ5SXzGvOHCSJeUanezcxu8EnczX407Gw
	 6YGNATcaHte+6sQ3119u4rDCvEa4BeXI65lOqZwDkHlQ+vBq0Iu6qQj7G5I5kNrRHt+EY
	 OaLjXKkBVhY6ivXm916oftqMi1XOPUca0eTGed4gmCXY/T1j+y/JaNUHCxSjPj2jZy0BZ
	 Z93x52H7kBuQpvs4+42+erzMJx/mBT7/EypSei8pQ3Z9adRiSxFTQ2P8VE9AeMX07cPb7
	 ziZn9oyApMwXtvHbe/cqa92BOO/jcvVFQkUSlQVeifXBZSuC7qJpU+kywKBK3iYtp6w==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795374256;
	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=n5jm7HL6HHCsJOfYjy2QBKao09aJs2/DBh7VOXmlB8g=;
	b=fv2WEG8CVzLtdNQxfp/42Tj7VAH0ryuCAe1FSybj6HE79OBk7RGv3b1iqRLNBwDBR3y+
	 V8sBDpEPOQKmr122HHAZSxxDS1Ytt2iEABqWj4qS2cL745cQY4XJWk6wZlits69/M3dqV
	 /infwEQOjDH0LDI4RDexU4uvt+rZZ95PjdnYrcQWcVw9Klar0pjNBESNoCXedSJEV8d5x
	 9Qw2aalRFnjt+NXe1dzyCPwuLaMZCFYDwrNkmJAZHK5MsDh2kttq4/vX9diZNqD41q+/Q
	 ykeHFTqF4zRmsZnzljP8uS9dqBUvKiqfhSJj8mL4BpRHlZ41baJMZyyAr2NRhywn6eQ==
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=fm2 header.b=C146VkKO;
	dkim=pass header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm3 header.b="km4yv6c/";
	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 7E345606A333;
	Sun, 22 Nov 2026 19:04:16 +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=fm2 header.b=C146VkKO;
	dkim=pass (2048-bit key, unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm3 header.b=km4yv6c/
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=103.168.172.158
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1795374255;
	b=ICSDZvKzF5HViwUO1JxLzNN4swM5Hc3duWqu1UyKpsmMgW8n6gLjramG7aQSl/7Cjvln
	 bBQpOMEymiBjflZnabUwd5bI7BYGsoGZ38WAcBTTnuxJLQ46py2c2hANBD7DY7ngcQ+7t
	 2IyWKRa76kKjmZTfAXi1o3xyGkS04z1DUvIdMopwM28UhM4doF65E2Tx9W2oJ8dGQHTzn
	 heZYayvKaj5cPlpuj4iKS8t/+CbRV1pXUtwly8LKYsL2EduR0DFzA6P49utKN0wMLLklS
	 Hgc8QThLmzwa6h5AAvMxkmxb5I6YVEEyS4ER/XuVXtCFbnBVaNxj2HqffWRTGSVtSAw==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795374255;
	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=n5jm7HL6HHCsJOfYjy2QBKao09aJs2/DBh7VOXmlB8g=;
	b=fmVwiSeh/cCEjdeVlT7Dz+JKvMd1eHm2XReb1lzQaa5LhuFSin4fQIo6ckbdhuQ20KgV
	 tmZ+cbDIFGHna3OiN1NzXDEb9N7z8Wa4bOEXJqEiARH38g5QUVyTnE3E7tRVNNhG93dvg
	 yTS9/2fxWvx2qN/nEGOlJDs0C3+uxLcg3nkwPq3PJ7/7z2C93/CMas1XPEzm8C/NW2niG
	 PDsMQSf4TbqzUlnjidbxplz3ZHpexpFxb9doLx+uG7mClAsQChonY9ix5E/I1FlgkeAxj
	 AUWaMJu+IhnZgFkppdf75lcnFgBhNwaqcgpw8HdL68WgS4Ch4z5GPckaas7rqmx1Anw==
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=fm2 header.b=C146VkKO;
	dkim=pass header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm3 header.b="km4yv6c/";
	arc=none smtp.remote-ip=103.168.172.158
X-Received: from fhigh-a7-smtp.messagingengine.com (fhigh-a7-smtp.messagingengine.com [103.168.172.158])
	(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 C7215606A320
	for <git@vger.kernel.org>; Sun, 22 Nov 2026 19:04:14 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org C7215606A320
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-06.internal (phl-compute-06.internal [10.202.2.46])
	by mailfhigh.phl.internal (Postfix) with ESMTP id A5E3814002EE
	for <git@vger.kernel.org>; Sun, 22 Nov 2026 14:04:13 -0500 (EST)
X-Received: from phl-frontend-01 ([10.202.2.160])
  by phl-compute-06.internal (MEProxy); Sun, 22 Nov 2026 14:04:13 -0500
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=fm2; t=1795374253; x=1795460653; bh=n5jm7HL6HH
	CsJOfYjy2QBKao09aJs2/DBh7VOXmlB8g=; b=C146VkKOhISoChbMBF52HAxlZH
	q6qO0JzXWdchJwVhCMxioXD8ImZXlZGhF62IOK7hTCx8+aQ+t08kVc4fwbAhL6yl
	I6SyvJGc8m5TSeCmRsCPgejmpfdn4dgnKLIL7eP0jmaQE4aXXnWmTFysrF2KvyAo
	obPQM/P4SE8jhUEmtfrIySqcKA84JNQ/bQWJeWj5YgtxrGOAg4rCam9dF8uq/tTo
	dibTFDSLYjkHPZgdAr3+98/y3I/7ByyhjcqHZHUwPwQxxAGjA1ZafqB5+Ck+N3ui
	q5ZwyEq4STaVXAuKPPkS7Xiq6jox7xKh9PlqLJtfIGaDa2nyRHqOrCIq0qQw==
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=fm3; t=
	1795374253; x=1795460653; bh=n5jm7HL6HHCsJOfYjy2QBKao09aJs2/DBh7
	VOXmlB8g=; b=km4yv6c/frRtYFvF42g2HSkO5QwJJ9cnp5d+ptb1kBRQrfYXUhp
	AZk5diBHUDjrQxT7Kwu+cneZ/whaSp/pT41NjAbtsw8XChU4+boD4KTOoLg0dO0L
	IjUxc8hsb3aPqu3qxNHB4PTOThKJ0aEJZiDzmgiv5RXlCsw3yH2VYH5+YXmpRza4
	Rnk3lIlu+I0b54hRAwh7jIAAZkgpChAWR9SEHDNGmvq+Xt4N3MvaVF9Btbm4IGLg
	MfpudeID7/zlUuQethVRLtS337FW6JDYrVmXJZ1x6ehw71Lw/2WZmHe9OVeUU4Hf
	znkysTHOj3TaZqRhdB339jmfGc3q7erkcIQ==
X-DKIM2-Info: draft=ietf-dkim-dkim2-spec-09;
	repo=github.com/dkim2wg/interop; date=2026-11-03; sw=lmtpprox;
	action=sign d=pobox.com a=rsa-sha256;
X-DKIM2-Signature: i=1; m=1; t=1795374253; d=pobox.com;
	mf=PGdpdHN0ZXJAcG9ib3guY29tPg==;
	rt=PGdpdEB2Z2VyLmtlcm5lbC5vcmc+;
	s=fm2:rsa-sha256:XVALXFQ+qQi5F/pJQYVGMxQIm0TdSTpN7+rb42tCfBl7ohG
	B/JpdotfVgx5tsys2MAb80Q/jq/xqnd1pmB0hm+3G+E6k0U7irQqNCVMHo7GClBu
	1wkGWbXqR9IDqxdaVuH7XLh9LCyQcY2VRAbEIKPOhH6leZoo4QJqOAXJc+Qo5vey
	342lo8wtkTR3tHgS8KDbbyI/k527cEYjR1DbO2lLLBM6oufw7Z+xBdO1S2ZaLb+I
	JjDc/eCU0RrlhwmPNB0g72ZipNfgh+yHNuJ1F6OUHK39vyi66jwk+DJeIIXCdoV5
	36dFe2lBeigF14qNHoMIQ6kTzoSkgjQa+ZzfX3g==;
X-DKIM2-Info: draft=ietf-dkim-dkim2-spec-09;
	repo=github.com/dkim2wg/interop; date=2026-11-03; 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:byGcTw+ft8SMqfv7eC5FtLtZmaeqo9iCDqN8u5go+Tk=:Vh+aYtGaBJasbowRXOcQ0/TRbjLGAuBub0xbsA12e0Y=;
X-ME-Sender: <xms:rTwDa6jSzhoAYzBs-QayH3lP9Bcaj7SE0ZlwwAu3Re1ggGI-J38KaQ>
    <xme:rTwDa9SlAB1yZuKBJ366IWX82XQvncj47yr5hL09xEhb5vo_p0eQnfRh_BfI3C5DM
    fgOZqv2crDIfHOS1f2bWe1KAQZUgIfaEzErdVcRsfFOyj0Uwf3pNQ>
X-ME-Received: <xmr:rTwDa0Xv9pBUnMSU6AzpJO3zs4lVAGDKS5i8kgWI4f7_IdAb7YibXzKofWxjvpz2UymnxMhYHzYx0FbwH6O7SYXhsRWiTqoBIEO1XQY>
X-ME-Proxy-Cause: dmFkZTER8pZN3yGxq5m7ko+nG+CYw7wMqLsCmOA8u/JjQfAtQXqDL75cZ1Tg2mDLK1r74P
    DtlwBt08ZhEuWTWWtGZkBCiXCb+FaKR8QVZqlhiog/hFb+f2ptYQpd1R6HMoaCkB+BvT1M
    +n/SbRQUv+S7xXoZSe5ZF9PWNmAdgrnws14UK0DMjozYPSjiMU39IMyssQU1+j8djwj/7d
    Ps3ydhmaw+CKpUxQyEPHdLbB2bL0DABKr3WBB3b+CbI5LlrSyj502Ne4entR4KHWjQXYKP
    hwG8odrc7qG7MMl2C7iCalT9QLTv1W5lKadzDXSlPoP8nwZ7rP7FIx0X+kSlaEcoq8kFSK
    3c3/v2i5f8isxP0IXj5k1Ld1D2ShhtIqCTKbzslLTBHNYiRw6iNom9RBsrHk+bsci2Yt7V
    D4AqaroKHnhmmEbafugu7uagB9rx4sZtkjEugJ12d0XuVRMcNjXE0UpyjlHtptivIiEl+F
    go197y5FUZizgTgqt7UTNVOuCHC9il5x4DqS2wW8YsbeU50bnXlEjWQqGspr5VjMN3nzyU
    p6a5aWanO1Fe/fdDTUcGP9b12rjYoyJ6AJ1boVdKCn0McShDDrW2svLB10GooI5F5o6S8t
    JQSbR6l7cz3Cmz03DNq2jsuwcYoJ5G2jFnQbM3n0CF3i8EnhlJgNE7vfFluw
X-ME-Proxy: <xmx:rTwDa5RMZ4ybkJRQWxb9tFYXwi2kpFdz5u8pxHfnAitomo3ABlr05g>
    <xmx:rTwDa2ln7c60sU4iP1xoua51xumjAyO907JiJ6F69u4_2i4_YatDPA>
    <xmx:rTwDa369Fhu8eZV3UnaStF9ShQOoawZnZwpzM0DX64CD5u0xCo-GuQ>
    <xmx:rTwDa0g-8F6hjJQEHN0RyOxj1ZTMFMWDNqQhjrggEglr4_2_yD1qeA>
    <xmx:rTwDa15Y4NydxaJc21lJNJNhoHMsAv49SfHfC54RAubTha81-kzOGFxx>
X-Feedback-ID: if26b431b:Fastmail
X-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun,
 22 Nov 2026 14:04:12 -0500 (EST)
X-Cc: git@vger.kernel.org,
  Patrick Steinhardt <ps@pks.im>,
  Adrian Ratiu <adrian.ratiu@collabora.com>,
  Jacob Keller <jacob.keller@gmail.com>,  Jeff King <peff@peff.net>
X-In-Reply-To: <xmqq1p9550ic.fsf@gitster.g> (Junio C. Hamano's message of "Sat,
	31 Oct 2026 08:54:19 -0700")
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