From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=45.79.88.28 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796241676; b=U7/Y7DI1RcKo+rLQKyYXjL205nY4Km4/ssmFfqyr0AfIYSqsQyv6ehwy0YK2tNQ0PWXy xu6OWDJw2qN8K0KX1uvDc4fBCOYinJnK/ehMFcNkX4sH80dMz3TWzRscRjOAxZjQsGxuK lImZnC9WcujIlsxM6wtRzV+kwADD0wrCRZw2CORQnqvsFXyGu963S/KkWhlnQBr0+BEJk SJbbSpUPgdpCb/VW3XLYDXnne7opz/f3epNet/h8kbUTij50zUM6RKlrICflzNdGqBbP+ 7YPLXDxilZ+rKxRkg4WIb/KO5+gzPTdbV3oUKvV1qpYq9KAL7DvDH5zJk+9/WrCMq1g== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796241676; h=DMARC-Filter:DKIM-Filter:DKIM-Signature:Received:From:To:Cc:Subject: In-Reply-To:References:Date:Message-ID:MIME-Version:Content-Type; bh=mde9/7bQgTWIZN9mCUpMWkPL111cesnWbfBUi/D/3iI=; b=GFHJA3FbFyttMP1pnDNiO74uEcz4OsmTGQ+x+ubgOy4wG7gChFfzZv0ZVkMBAudvoxJl 4t3TKJobLtHBFnjo1iZEL+2snAuGMZxRdasp0+Ho+3IRebVXwY9D2k0EiZfl7XMTGCcWL GNy3qLxTDTaEuTqmYoIiN6apWA/YvllSoc4voFQAwrdBL5YWEG9fOSCOcd2eqki+Whpm0 5Ui46BZu5FZioki7aO5BVFKHmSgz3wg0qMytobVC7STntY1sy462f7qM/aMLURUtO+P/c FQTmyPA9Up2UX0zD1BumEcGIMx3ZC5rf26LFdVeQUzbVro/9yN6z4hRCj08eN3jnKIw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=lwn.net; spf=pass smtp.mailfrom=lwn.net; dkim=pass header.d=lwn.net header.i=@lwn.net header.a=rsa-sha256 header.s=20201203 header.b=B9CXUVjn; arc=none smtp.remote-ip=45.79.88.28 Received: from ms.lwn.net (ms.lwn.net [45.79.88.28]) (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 58B84606A322; Wed, 2 Dec 2026 20:01:16 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 58B84606A322 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lwn.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lwn.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lwn.net header.i=@lwn.net header.a=rsa-sha256 header.s=20201203 header.b=B9CXUVjn DKIM-Filter: OpenDKIM Filter v2.11.0 ms.lwn.net 3E8AD40B2D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lwn.net; s=20201203; t=1796241675; bh=mde9/7bQgTWIZN9mCUpMWkPL111cesnWbfBUi/D/3iI=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=B9CXUVjn6mOJ1Do5cW1JFS5eeYFX9RBZ99dpCmPhLTeIB9PkBjuhri6TB4vfg2aDX 7KPheN4U9N/Zt83s+AwlT2bLYLUO5DNWeXsSfQXGNkX0PN9Jbo2hjpGddqDH67XENE vMt5TDUv3limdSNkD7pYVMguizFUJ60kwsjv7F/U1/XcpUorLQfaWMXQUX2373Pm3k nHjSZ5FOntuJ/eRX1cTWVLCOuadGUmyF8Lr9Ll8nFNIrxxZGkbpeUIPVcKZZpsmjJs wIHpia1YygGra10lbcN/ivFIl/6ZSK+bAWFgVyK5VApnOXS5niO3Smcsx3+LTLMSt0 tv7TSl8LYJBFg== Received: from localhost (unknown [IPv6:2601:280:4600:9f::1fe]) (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 ms.lwn.net (Postfix) with ESMTPSA id 3E8AD40B2D; Wed, 2 Dec 2026 20:01:15 +0000 (UTC) From: Jonathan Corbet To: Weijie Yuan , Shuah Khan , Randy Dunlap Cc: workflows@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] docs: submitting-patches: use git switch to create branches In-Reply-To: References: Date: Wed, 02 Dec 2026 13:01:14 -0700 Message-ID: <87qzfza1v9.fsf@trenco.lwn.net> X-Mailing-List: workflows@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain Weijie Yuan writes: > From: Weijie Yuan > > Git has been promoting "git switch" since git.git commit 328c6cb853d7 > (doc: promote "git switch"), and the command is no longer experimental > as of Git 2.51.0. > > Suggested-by: Nguyen Duc Thinh > Signed-off-by: Weijie Yuan > --- > Documentation/process/submitting-patches.rst | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/Documentation/process/submitting-patches.rst b/Documentation/process/submitting-patches.rst > index 4c28a239e8cb..63a5550bd490 100644 > --- a/Documentation/process/submitting-patches.rst > +++ b/Documentation/process/submitting-patches.rst > @@ -866,7 +866,7 @@ automatically include the base tree information in your submission by > using the ``--base`` flag. The easiest and most convenient way to use > this option is with topical branches:: > > - $ git checkout -t -b my-topical-branch master > + $ git switch -t -c my-topical-branch master > Branch 'my-topical-branch' set up to track local branch 'master'. > Switched to a new branch 'my-topical-branch' > > @@ -882,7 +882,7 @@ notice that it will have the ``base-commit:`` trailer at the very > bottom, which provides the reviewer and the CI tools enough information > to properly perform ``git am`` without worrying about conflicts:: > > - $ git checkout -b patch-review [base-commit-id] > + $ git switch -c patch-review [base-commit-id] > Switched to a new branch 'patch-review' I found this languishing in my docs folder ... applied now, apologies for the delay. jon