🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.git
Article #3082

Re: [PATCH v4 00/12] builtin/rerere: convert to use subcommands

#3082
From: Tuomas Ahola
Date: Fri, 13 Nov 2026 19:38
44 lines
11227 bytes
Junio C Hamano <gitster@pobox.com> wrote:

> Patrick Steinhardt <ps@pks.im> writes:
> 
> >> >     @@ rerere.h: struct rerere_id {
> >> >      +	RERERE_AUTOUPDATE = (1 << 0),
> >> >      +
> >> >      +	/*
> >> >     -+	 * Reverse of RERERE_AUTOUPDATE. That is, update the file in the
> >> >     -+	 * working tree but don't touch the index.
> >> >     ++	 * update the file in the working tree but don't touch the index. This
> >> 
> >> Nit: s/update/Update
> >
> > Oops, good catch. I'll refrain from sending out another version just to
> > fix this one fix though. Junio, I'd appreciate it if you could fix this
> > up in your tree. Thanks!
> 
>     $ git checkout ps/rerere-subcommands
>     $ edit rerere.h
>     $ git log --oneline --first-parent master..
>     $ git commit -a --fixup HEAD~10
>     $ git rebase --autosquash HEAD~11
> 
> By the way, I wonder if we can simplify the last three steps in any
> way?
> 
>  * We can use 'HEAD^{/^rerere: convert flags}' instead of counting.
> 
>  * The last "rebase" does not have to be on HEAD~11; as long as it
>    covers HEAD~10 it is OK, but we cannot use 'master' as I am *not*
>    interested in taking any new development from there, and I do not
>    want to worry about what the command would do on the merges the
>    topic has as synthetic base.
> 

Just for hack's sake :-)

	$ git rebase --autosquash $(git rev-list --min-parents=2 --max-count=1 HEAD)

> Perhaps with newer experimental commands it becomes easier to
> manage?
> 
Technical Details
Message-ID: <20261113193811.cjM3D%taahol@utu.fi>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!git+bounces-75408-linux-kernel-git=dewy.ru
References: <20261027-pks-rerere-subcommands-v1-0-d836c36ce0c5@pks.im> <20261111-pks-rerere-subcommands-v4-0-df0c8bf79e16@pks.im> <CAOLa=ZTAYtq0K4YfcSBocf-fxadTiaJp+AV5-_6_pbNMBwYQXA@mail.gmail.com> <ava6Q1u65ASVeth5@pks.im> <xmqq33t4eh84.fsf@gitster.g>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!git+bounces-75408-linux-kernel-git=dewy.ru
From: taahol@utu.fi (Tuomas Ahola)
Newsgroups: linux.kernel.git
Subject: Re: [PATCH v4 00/12] builtin/rerere: convert to use subcommands
Date: Fri, 13 Nov 2026 21:38:11 +0200
Organization: Usenet Network
Message-ID: <20261113193811.cjM3D%taahol@utu.fi>
References: <20261027-pks-rerere-subcommands-v1-0-d836c36ce0c5@pks.im>
 <20261111-pks-rerere-subcommands-v4-0-df0c8bf79e16@pks.im>
 <CAOLa=ZTAYtq0K4YfcSBocf-fxadTiaJp+AV5-_6_pbNMBwYQXA@mail.gmail.com>
 <ava6Q1u65ASVeth5@pks.im> <xmqq33t4eh84.fsf@gitster.g>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: usenet.network;
	logging-data="1425577"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:y1WDc+yPedxEukwVasbuqLShHZY= sha256:Rf5KtcRfCVVdex8D8WDZcr5xIxCN0MYcQ3eVY89aMag=
	sha1:pQKY8IspwnhLO0hYIunfCTkZan0= sha256:Qe5f1SVlkTxL9WyLZAW+FFyYA9D3ZYP4UmyvBEXE2yk=
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 0A545114645; Fri, 13 Nov 2026 22:59:05 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.049
X-Spam-Status: No, score=-3.049 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, UNPARSEABLE_RELAY=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=utu.fi
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 bGHfZKhSzUAo;
	Fri, 13 Nov 2026 22:59:00 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=git+bounces-75408-linux-kernel-git=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=utu.fi
X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
	by mail.dewy.ru (Postfix) with ESMTPS id 23F59114641; Fri, 13 Nov 2026 22:58:51 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by tor.lore.kernel.org (Postfix) with ESMTP id 93DF11873FA; Fri, 13 Nov 2026 19:38:35 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=fail;
	t=1794598713;
	b=o86pM/O3szPWikcUXXaavlgv4YXccw/OT0Ao4v9aiEkHBhPdm7chPdr8+NC4HD21DnLB
	 XOxIxdGeWFos/m5V2AJQZJW9gRFWRDq3HXnyIMXgpghmcdnnoiwBvsIIBvfLzD7T2A5yA
	 G8ZYoW/GheQA0iwansiB/tTvTvvGXbfTk4deeSQrwrxcGKSa77lFOpcj5fovXxlQD6biz
	 D5ntTiQnZmTD6VxGY/UnUOuy8XO3ABT+l5+Sh7mrvKdnFHnrYzJ2M3jfrjVbVEvfm1U3u
	 c+StzbVrw5jnByTvca66bo8fzWl0Cuk9oz1X8DOz0si1UVexjoxPZ5882LdkJiLjKwA==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794598713;
	h=X-Original-To:Received:DMARC-Filter:Received:Received:Received:
	 Received:Date:From:To:CC:Subject:Message-ID:In-Reply-To:References:
	 User-Agent:X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:MIME-Version:Content-Type:
	 X-ClientProxiedBy:X-FEAS-BEC-Info:X-FEAS-Client-IP:
	 X-FE-Last-Public-Client-IP:X-FE-Policy-ID:X-FE-Hostname:
	 DKIM-Signature;
	bh=5p3ZMuxopt3pO6jQWJRsDkjb/c84t9LCJ3ojof5+oW0=;
	b=Dr/A9djvTu2rvR5Zr2WTuq9OxBSqS2PKmiDMorgPcjGZhR+J5ntLJopnUH/Q7bO+ntRK
	 l3VnrV4/AjmI25RsC39VdG6T+R+oG5yz0zVsNGxpuFoYPg663CGA8VmOt9lZrmY3XhkUd
	 g5CenmPvtwmiDLuDX5fSmLejrjwnRCMZ1cJYtKILyn71MH0s6h578yXdFHGDWBNmwfrJe
	 TbcrLPV31BLv27dmCLafzwrwiVAn8EjF20N9zM1xwmrXUQuHeWuoWIvaW2yXAqyR3OjeM
	 uoI7zdhcUbSnPXWFTPJl8Pd7eSb5tM6d7Pwz6KFOQdCUU467R3WDowdNlO23wpHWdiw==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=utu.fi header.i=@utu.fi header.a=rsa-sha256 header.s=out-utu-v3 header.b=m6zJhZbo;
	dmarc=pass header.from=utu.fi;
	spf=pass smtp.mailfrom=utu.fi;
	arc=fail 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 8D419606A33F;
	Fri, 13 Nov 2026 19:38:33 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=utu.fi header.i=@utu.fi header.a=rsa-sha256 header.s=out-utu-v3 header.b=m6zJhZbo
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=130.232.247.4
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1794598712;
	b=X82UFv/l0yRRg4yGCxtvqTM32eheK91bYCmRNU9K4GNWuGYZtwiRRMw+3Oxe6PSZc6s4
	 e25dcExJB5bOWpxSAtUdSbdAkoGOKYm/qbICdO9MCNn5SKqrYBLCf2dZ/lr64xefzmHVG
	 iSCMGSk8wJorgUHhlfFaBJLneiHxCpys6GkDwLI3L3x63nz60iIBBX7ACusIhmJIR/9WY
	 BYzt23K1DPGOZHCD5n5j+oxLC6uEoaJF7n+SCdylsfnJhCGiUx9AQPWmlvaItgmymSUU8
	 VL66Z02m9Ysc4F8xzzz3bVqUefGwMMd8k7ZtoskGeEFPHjbimsAn6YHgi+3HEMTiCqQ==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794598712;
	h=DMARC-Filter:Received:Received:Received:Received:Date:From:To:CC:
	 Subject:Message-ID:In-Reply-To:References:User-Agent:MIME-Version:
	 Content-Type:X-Originating-IP:X-ClientProxiedBy:X-FEAS-BEC-Info:
	 X-FEAS-Client-IP:X-FE-Last-Public-Client-IP:X-FE-Policy-ID:
	 X-FE-Hostname:DKIM-Signature;
	bh=5p3ZMuxopt3pO6jQWJRsDkjb/c84t9LCJ3ojof5+oW0=;
	b=PqVuDOlTTW+642zb/4eUoqniliQAvyx79rGxETAHi93GrfXdA0TZDhM5T4siJ8j2R1yQ
	 A0fgGRwJsVsiwjpYID9xeE9qIVm0yrpzZzoQqpTPeBS9M2oHuiA2ZceKT4V6pweVUCo1h
	 RcCeaTUvnyXFMdbTrO0RgeA4FOQKG1OearTtd45+B2CDZvOhC8502BagrB+03C4pwPtD4
	 JJDQw8Oys4or5wpMF6rO1/0jh3w/XIGzJ/7+zkPSqvl9lBTpdK2BV4lgguvO6FBn5mofw
	 WgWKeGERhYEC6Db+oF5zYAPGF4IemFn2FDkKMWKMVfagOO06QtJE0A1JE+M4Qf1xLow==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=pass header.from=utu.fi;
	spf=pass smtp.mailfrom=utu.fi;
	dkim=pass header.d=utu.fi header.i=@utu.fi header.a=rsa-sha256 header.s=out-utu-v3 header.b=m6zJhZbo;
	arc=none smtp.remote-ip=130.232.247.4
X-Received: from fortymile.utu.fi (fortymile.utu.fi [130.232.247.4])
	(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 4EFE4606A32E
	for <git@vger.kernel.org>; Fri, 13 Nov 2026 19:38:30 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 4EFE4606A32E
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=utu.fi
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=utu.fi
X-Received: from smtp-04.utu.fi (smtp-04.utu.fi [130.232.207.47])
	by fortymile.utu.fi  with ESMTPS id 6ADJcCHf028824-6ADJcCHh028824
	(version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO);
	Fri, 13 Nov 2026 21:38:12 +0200
X-Received: from ex19-06.utu.fi ([130.232.247.46])
	by smtp-04.utu.fi with esmtps  (TLS1.2) tls TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
	(Exim 4.95)
	(envelope-from <taahol@utu.fi>)
	id 1xRx6C-00FMnW-9g;
	Fri, 13 Nov 2026 21:38:12 +0200
X-Received: from localhost (86.50.95.90) by ex19-06.utu.fi (130.232.247.46) with
 Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.56; Fri, 13 Nov
 2026 21:38:12 +0200
X-Received: from localhost (localhost [local])
	by localhost (OpenSMTPD) with ESMTPA id fe3b0a1e;
	Fri, 13 Nov 2026 19:38:11 +0000 (UTC)
X-CC: Patrick Steinhardt <ps@pks.im>, Karthik Nayak <karthik.188@gmail.com>,
	<git@vger.kernel.org>, "Mark C. Chu-Carroll" <markchucarroll@fastmail.com>
X-In-Reply-To: <xmqq33t4eh84.fsf@gitster.g>
X-User-Agent: s-nail v14.9.22
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-ClientProxiedBy: ex19-13.utu.fi (130.232.247.53) To ex19-06.utu.fi
 (130.232.247.46)
X-FEAS-BEC-Info: WlpIGw0aAQkEARIJHAEHBlJSCRoLAAEeDUhZUEhYSFhIWkhZXkguLT4lWFxYWFhYWFBeUVxfSFhISFlbSBwJCQAHBCgdHB1GDgFIWUhZX0gPARwbHA0aKBgHCgcQRgsH
 BUhYSFpIWVxIWVtYRlpbWkZaWF9GXF9IUEhYSFhIXUhYSFhIWEhZUUgPARwoHg8NGkYDDRoGDQRGBxoPSFhIWV9IDwEcGxwNGigYBwoHEEYLBwVIWEhaWUgDCRocAAED
 RllQUCgPBQkBBEYLBwVIWEhaX0gFCRoDCwAdCwkaGgcEBCgOCRscBQkBBEYLBwVIWEhRSBgbKBgDG0YBBUhY
X-FEAS-Client-IP: 130.232.207.47
X-FE-Last-Public-Client-IP: 130.232.207.47
X-FE-Policy-ID: 3:5:2:SYSTEM
X-FE-Hostname: fortymile.utu.fi
X-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; d=utu.fi; s=out-utu-v3; c=relaxed/relaxed;
 h=date:from:to:cc:subject:message-id:references:mime-version:content-type;
 bh=5p3ZMuxopt3pO6jQWJRsDkjb/c84t9LCJ3ojof5+oW0=;
 b=m6zJhZbo0XXMFEkuKRKhjHs91OQ+Xn/TRgjvCNGZY6VJMx3BagibIFcxYFhIYbNUajZ0+xUWg9Pb
	siT/b4OB7GR1LCPnAZh5YhZDdcFWSotqh5azhz2eRYWKL0LQ2E1V/TnfJvi3T8eLWRuJ3zdBIQZY
	kmTbJS04LaDieEPl33PYIruLi0RhFgDHQKZ0GyJxPo0LrZW0m6Vj9nzvarucmoRAbmb9j1fBRnqL
	BGteOvPrQD/kYnlONH6GW4u1ylK1M9KPn4FZl3d6FIegOUWyvy0jObVmd1z3RWWxkL+Ux2RRJjPy
	/JhC4sso8egAquW9fYT5SOVygrgQX0NglEfD1Q==