Article View: linux.kernel.git
Article #3118Re: [PATCH v4 00/12] builtin/rerere: convert to use subcommands
From: Junio C Hamano
Date: Sat, 14 Nov 2026 12:45
Date: Sat, 14 Nov 2026 12:45
28 lines
13821 bytes
13821 bytes
Does the new syntax introduce a subtle UI regression that does not
allow certain options before subcommands? We used to take "git
rerere --skip-locked gc", but now it has to be spelled as "git
rerere gc --skip-locked", it seems.
I do not particularly care about the '--skip-locked' option itself,
and I personally prefer to see options after non-options as a
general CLI principle, but it seems that it is now required to give
the option after the "gc" subcommand.
I do not know how often people run "git rerere" with these
subcommands themselves. This subtle change in the CLI may go
unnoticed in a smaller project, but because we probably have more
than a few thousand users, I am afraid that somebody will notice.
In the transcript below, "rungit TRACK" is my short-hand to run
version of "git" from that integration branch.
$ rungit master rerere --skip-locked gc
$ rungit next rerere --skip-locked gc
$ rungit seen rerere --skip-locked gc
error: unknown option `skip-locked'
usage: git rerere [--[no-]rerere-autoupdate]
--[no-]rerere-autoupdate
register clean resolutions in index
$ rungit seen rerere gc --skip-locked
Technical Details
Message-ID:
<xmqq7bifponx.fsf@gitster.g>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.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-75438-linux-kernel-git=dewy.ruReferences:
<20261027-pks-rerere-subcommands-v1-0-d836c36ce0c5@pks.im> <20261111-pks-rerere-subcommands-v4-0-df0c8bf79e16@pks.im>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.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-75438-linux-kernel-git=dewy.ru
From: gitster@pobox.com (Junio C Hamano)
Newsgroups: linux.kernel.git
Subject: Re: [PATCH v4 00/12] builtin/rerere: convert to use subcommands
Date: Sat, 14 Nov 2026 04:45:22 -0800
Organization: Usenet Network
Message-ID: <xmqq7bifponx.fsf@gitster.g>
References: <20261027-pks-rerere-subcommands-v1-0-d836c36ce0c5@pks.im>
<20261111-pks-rerere-subcommands-v4-0-df0c8bf79e16@pks.im>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: usenet.network;
logging-data="1571025"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:9lbzFVeYqbnx1jrfBsnIO60cwsw= sha256:VGGsBYrW6S+v8OKOtwmAUjgSImCwekDqxEaxg5tRP7Y=
sha1:eROnh23Itzk9omsXKIHRhSa70lw= sha256:u9JF2mKMKAyAZIQpZn1+LMYuBWvlTL6Jwrr80fPXrgE=
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 5E432114306; Sat, 14 Nov 2026 15:46:03 +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.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 (2048-bit key)
header.d=pobox.com header.b=aRcWI1My; dkim=pass (2048-bit key)
header.d=messagingengine.com header.b=0WyQyS1v
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 z0Kt-RAYig4h;
Sat, 14 Nov 2026 15:45:59 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=git+bounces-75438-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 3BCCC1147D0; Sat, 14 Nov 2026 15:45:45 +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 958112CC54; Sat, 14 Nov 2026 12:45:30 +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=1794660327;
b=INh+/4tgfDsJ2dW93gNzREE1YiVLogKNVvtxTIzSLaRnRT0AjLMfhQfARcgTKBBsBKMS
XxKn1pby/ms8NQbMu245Ge81XT7yP657U7RkpbCabFmN/ZWeve92rgIBAoXGYO87ex+Fu
GqogkXc44v8fE+tfSoD92/ootPRNx04ibbsNm/RyPE+gnIAqUtVjpwd121YoCbqwzPrso
d/UOKL4G+DEJf3y1whZLIgycB5gW9tAkYg+nEL2eWRxxWPiEdQyPMYC/iJ5fiqGuaI6zK
KX0jU/xkilI0dfVOzQYRvF6xoftlZivimyF1mnt1nmyK/ch8kWKM2/bMYtKxWYYaFgw==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1794660327;
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=XlXxkenldlsEPh+QRUUjgc33n4MTNe4PCqq9WK1EXJQ=;
b=AGgwEtKx8lTr3F23VSca95p1r61T8oEt4m6L+CpEWnViDWtVBa0SSsPAsn0Pejc/6l/X
xrEUPhJtTnmLv+z0Xamc+IU2NHCTv73KHUnQYeHQhVGl66wlUlO+l8xuIWTC3hUDv1zR5
JGU/JSkuTqXzXDN/aCTXxpqXRBuBhJK6AwLaN+EnWsMjNQlxkblUjfOoYY++d0TMoELxL
7MK5bvmwoN7hZzZikcdLYDTugKgTqF9kFfkVDcWPeFhILtXUPftq5+6QolkQc+OFenNu2
OdIX/pTkzzqPbEZSo+i6xx1eJFVa/c93yL4/krxgfqBfFzsQeUQbMAxAC1Yir/Rokig==
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=aRcWI1My;
dkim=pass header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm3 header.b=0WyQyS1v;
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 3C452606A334;
Sat, 14 Nov 2026 12:45:27 +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=aRcWI1My;
dkim=pass (2048-bit key, unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm3 header.b=0WyQyS1v
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=103.168.172.155
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
t=1794660326;
b=A21Z7Mfn7YmUS3bj8Bzv14Z+EqxiQppDlAfZgac3G9EhXYv1M/kB/0TP+h2B7/O2IRdt
Xc0ZpXjX1g2eBYKVVd+8QPFmzqXVYcq975IeVAToc+PJCPhWyIqEVOOqxzbeSGtoLtJK3
BQbHZWyOdiUjp5rV2aQ4895E21dVCG256zmKAQ+CWHgjjm9zv2S3K7uWCDh3H0Ixat/mj
QuhmeNCs3LtUrF2X9sv/hR5H+1xQZDoroKx2FSo7TslZrGki7aHCyRqZ6LFVENYW9c+lD
tkIZAwAUY3+2IdcdmPSkcr5IQrw5KQVqIdwZUWRyH9ePQxkigEzWHVic+npyIpY4XNA==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1794660326;
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=XlXxkenldlsEPh+QRUUjgc33n4MTNe4PCqq9WK1EXJQ=;
b=5XrdQjr9AR+HlnuHSdPHRv8Svo+9IGPGvB4zvCRAR6IsDm4x/kCJCKHbuTeCKfe59xmt
/83+K9qa5uDIaKlLJwyuqOlLSmw+EIEHdII1C8zz/x+LkJkSpD+nM9maZWsr3qpuWrpdN
07PFMxoi40MuKoHVk/ydZ8/ir9lme/Lm5X5JPyMJMSMGARAb3BRzM+X87pGLQMO0/+IMW
D1he7Sf0zp48FziXP2ZgIYUFtPY6QI7+s3A5hYmxQeYlxeeZNfUHdPIZneo8ONcBQWVPq
j2V8uLwDEWVc7FEn+fRw1W2D+EqPR8shVO1P7u0AXolk7caFcX5/OUh/LI/oWdq/V5A==
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=aRcWI1My;
dkim=pass header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm3 header.b=0WyQyS1v;
arc=none smtp.remote-ip=103.168.172.155
X-Received: from fhigh-a4-smtp.messagingengine.com (fhigh-a4-smtp.messagingengine.com [103.168.172.155])
(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 747A7606A329
for <git@vger.kernel.org>; Sat, 14 Nov 2026 12:45:25 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 747A7606A329
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 8B7B1140007E
for <git@vger.kernel.org>; Sat, 14 Nov 2026 07:45:24 -0500 (EST)
X-Received: from phl-frontend-01 ([10.202.2.160])
by phl-compute-06.internal (MEProxy); Sat, 14 Nov 2026 07:45:24 -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=1794660324; x=1794746724; bh=XlXxkenldl
sEPh+QRUUjgc33n4MTNe4PCqq9WK1EXJQ=; b=aRcWI1MyS6ifSlF0nFJAneCguJ
9qmDp7udu3m5zUWqJOA+qO6AHuv0e7SIqmXrhNX//4Wy0RCu/LzQm2Wnamtq6KvG
EgQfPf02PyZWX/rdb/uhgfDNTKpxCS9ifMGfOLiM1fWb02s7MtY25zKm9gj+mIzX
OYWSZjkWKnF0tOSEfkqRGaZlp5IcuhclwfrsVv8TVeN4yRMhPeNd/yI1hPn1gqiX
iGVbkC38wQhPgyBPbquFWR2YBIGMa+A9obooT3JiF/xyc6z6RNrT1Fz+uGau2tQ4
+qatw3zbW2dk3nJsF12BF2QElbc7LlIexnNwrn0I1by27QrW3JKiv/TPRXNA==
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=
1794660324; x=1794746724; bh=XlXxkenldlsEPh+QRUUjgc33n4MTNe4PCqq
9WK1EXJQ=; b=0WyQyS1vtDTD9bBx5bRsjaseLJsd5VsPLO+yNsNbIPHM91rfHLZ
t5u5bcjjgPDqYuFSoLRsnTJNbAaH1zbPfgME0U7EmU9Xo0AX2GKEiWgmNzLoRL+F
fQPEx3kq4V2xrp5865m6NCmz1tIbqk/QYAOwGOHOOms7QKpenUVCtV1Znc/AZzXx
jynDXs2rO0VTFUnZySnm2cZBDgEueP+zBTGuKkiR6ZR3ojk17XYCrbXy3wEqcblC
i4jBYM7f/wRrXFg4xr6KytgcE4OLMjVR1aaFQChoOUj1R8QILLGtPazSheI+MipX
JhkT5UiFSMt4jX9IWtDcjD+OisN9XGn4/jA==
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=1794660324; d=pobox.com;
mf=PGdpdHN0ZXJAcG9ib3guY29tPg==;
rt=PGdpdEB2Z2VyLmtlcm5lbC5vcmc+;
s=fm2:rsa-sha256:ju0tOiVO8MeGKuFGOruCx8hDPJUE96+yKoYiTqhcnapO5vX
qdX45Ze+XqDB5rqZuYAMv9KXN4YdOXpCfkfYxPY9VUXGECy8QDUfjJGe91nWTygF
0AoD8sJrL8XHzIUUbd+iXxN0spR2dB3tdhusjrbx62Z0kXzw9uJCF7uYnRke+3Pf
XpT+AbT1aVmKTy0KOqoewfHAJdTu3R6I+bSgVQLsG264XBquyeVUHE7m8eyVJqCn
BFS/+NoTUigCbe1ymP9InFvKUAIOOAQwWwd+xPFIdgcvwlLYenCG7Qf4LOss+sRy
sjn7MmMvLhcU+4pCGUz6ByrQoKF0Msv+DJqh4vg==;
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:Syb8TDS42Bwn9yjU2Vs+XAc8jmWU7YZAWj3qJRzVkbg=:MO0+LmrNJXbC2xF/58ySKZKWult1NFPucDNrIVngnQw=;
X-ME-Sender: <xms:5Ff4au5PkRguNfW7R_bzU1Cph8bwBvYZi3oPGuLqlAlpGEjZpytUPg>
<xme:5Ff4auzCQzLG90cQ3yCikzUX2uCku8j9zz8HEKBOutyyg3SJXGR1sEM3AznTj1z76
XrzPJ65he4dT8kBZs5exGSNa7Ofuk5otZ6b7k92oJQIqi5A9HlNNg>
X-ME-Received: <xmr:5Ff4alyZnETRCMiwLeCtmGTbe-lfoP3wavBqpToDVVg8ricj_9z5aZAe0DKnag2sLMISIeGI6R3BHmSceEfzvWtywmq9l9uRT8OG>
X-ME-Proxy-Cause: dmFkZTEER7nSnIoqdqeAJ/hcepPU1On5a+YcFuEv0vG3RpXlw9WYFjPjOgV6hqxVxFqSer
rw6nQi7aG4o1cUfoRA0s0rWyLWcixPBzfj/6GG2AORhkckOml0/l+xH1BRH3TgTbBELE5w
+qzCuzfJ6fDVyMmi+axerTIxeNqfsbD28WsOOgEHjxFuF/HfkeYuQIcOKz1IxEeJqhCHtd
Dd/n7FJbwnWcbxRChomVKaWtaguA2/pqXLfZE9cnWedlnwkhz7QsB65lNJSdXKg8wnmvaz
BwFtsHtPpqm0JDzzE6kNevAFJe7kpXjYamTsPbsnxN8mKNOWhZnHuhMuPZMIxgBlQPMUbE
H3SVW04yiCXQVWd7mq/yvQ/LSmisecBXZxoVewBBsw6jxFSz8PRfax7ycFdzuN0K+7irZQ
6uUw5fcfiZGzDH6xB4aA0j/JE9vCjvkwzCvvgj33lx6c2Aj8o/ucDtCqPGq5kwSWJmErzd
zFoRTl8jR+fqO0gD6kLBzTQZpLzJCCol24oNwZyZlEg+wyiX0M08JMG8IXAoC5jvHbfc66
CMYfkFcKTyI9hLGaTKRibxie/El8CND8hkNzykCFnV7GKkcMUI2/9EU5+LbShGou8vYGQa
RuFJobETL0v1+OZxm5KYJwgzTPCJmr6i8qJPlYuX/eal3yUjpBsUG1hUPL+g
X-ME-Proxy: <xmx:5Ff4amwe55ZebB-EB7j0FubhMkAURIZNR_YuMdI8_X8Ow689wYX2PQ>
<xmx:5Ff4ava4Ys50ktxXV7z1m0KOZ6UEk97quQ_L4V7QfFNDow1w-TvG8A>
<xmx:5Ff4anUe-mxKLrDwt226r9p472JCC5gqisyflVBR8_PffA4uA6Ex1A>
<xmx:5Ff4athd8f3e7uWz0Z8pIehzJdVhbTNpvGGAbN-Y13entx-yc2Yf2w>
<xmx:5Ff4aqA_x9TdsCXT7500f7eTDhVHeSZHM2UetHQ6VLerh2-rMh0__Nry>
X-Feedback-ID: if26b431b:Fastmail
X-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat,
14 Nov 2026 07:45:23 -0500 (EST)
X-Cc: git@vger.kernel.org, "Mark C. Chu-Carroll"
<markchucarroll@fastmail.com>, Karthik Nayak <karthik.188@gmail.com>
X-In-Reply-To: <20261111-pks-rerere-subcommands-v4-0-df0c8bf79e16@pks.im>
(Patrick Steinhardt's message of "Wed, 11 Nov 2026 13:18:36 +0100")
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