Article View: linux.kernel.git
Article #268Re: [PATCH] repack: do not rebuild packs on --dry-run
From: Siddharth Shrimali
Date: Sat, 10 Oct 2026 20:05
Date: Sat, 10 Oct 2026 20:05
18 lines
9477 bytes
9477 bytes
Hi Junio, On Thu, 8 Oct 2026 at 19:53, Junio C Hamano <gitster@pobox.com> wrote: > Very interesting finding. I am curious if this was the case from > the beginning, or we broke --dry-run unknowingly as a side effect of > some unrelated changes. If it is not too much, can you bisect and > document where we broke it in the log message? unfortunately, this was a mistake on my end and it has been broken since --dry-run was introduced in 1e746b00aa. the --dry-run block never returned early, so it always went on to do a regular repack, including the deletion when -d is given explicitly. I will document this in the log message in v2 Thanks, Siddharth
Technical Details
Message-ID:
<CAGWgyh-rwcHaZ4ymn1n1_RC+eCEomfAeJOT0GSUtU6oBmRbhcA@mail.gmail.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!git+bounces-71690-linux-kernel-git=dewy.ruReferences:
<20261008062521.25505-1-r.siddharth.shrimali@gmail.com> <xmqqwlrs2rvc.fsf@gitster.g>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!git+bounces-71690-linux-kernel-git=dewy.ru
From: r.siddharth.shrimali@gmail.com (Siddharth Shrimali)
Newsgroups: linux.kernel.git
Subject: Re: [PATCH] repack: do not rebuild packs on --dry-run
Date: Sun, 11 Oct 2026 01:35:54 +0530
Organization: Usenet Network
Message-ID: <CAGWgyh-rwcHaZ4ymn1n1_RC+eCEomfAeJOT0GSUtU6oBmRbhcA@mail.gmail.com>
References: <20261008062521.25505-1-r.siddharth.shrimali@gmail.com> <xmqqwlrs2rvc.fsf@gitster.g>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Injection-Info: usenet.network;
logging-data="1401411"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:kK1GSfCunzAFfyxpukAWAl5tSAo= sha256:LIyXCV18N8JvkfO/yvtmyHjWaqIhUQE5he//C4IwZO8=
sha1:qlGNtGbDv1lxohQ0llLz/7E8OsA= sha256:MJqQGtrAMyRb6Dnj7N6HK/pYI72yijkC2B9Eb0Rb5vA=
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 5D48210F958; Sat, 10 Oct 2026 23:07:11 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: 0.351
X-Spam-Status: No, score=0.351 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, FREEMAIL_FORGED_FROMDOMAIN=0.001,
FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249,
MAILING_LIST_MULTI=-1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001]
autolearn=no autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
header.d=gmail.com
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 bbIY_T1EKoVM;
Sat, 10 Oct 2026 23:07:08 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=git+bounces-71690-linux-kernel-git=dewy.ru@vger.kernel.org; receiver=<UNKNOWN>
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=gmail.com
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
by mail.dewy.ru (Postfix) with ESMTPS id CC77610F939; Sat, 10 Oct 2026 23:07:03 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1])
by sea.lore.kernel.org (Postfix) with ESMTP id 5C2512A0F2; Sat, 10 Oct 2026 20:06:35 +0000 (UTC)
X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
by smtp.subspace.kernel.org (Postfix) with ESMTP id 26B393D3CEF;
Sat, 10 Oct 2026 20:06:33 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="aGDJil1a"
X-Received: from mail-pg1-f172.google.com (mail-pg1-f172.google.com [209.85.215.172])
(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id 323D02EEE67
for <git@vger.kernel.org>; Sat, 10 Oct 2026 20:06:30 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass smtp.client-ip=209.85.215.172
X-ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
t=1791662792; cv=pass; b=rcbIAjFBqHH/suWhPKh2CS9BdlemTIYN71GjbQqelasZN5SP9S7HC7uFyxIVMoUijy+CPSvoXCh+bZCplSv8TuzCnl70azsQXhmeeU9HguNsfSnfspdQ9yRrZcLaf1kGms45fVdv4TWsNlAj94cQAC3twNykLPOt/wFeeZE5nwA=
X-ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org;
s=arc-20240116; t=1791662792; c=relaxed/simple;
bh=XfqJbo1JFog/fQCNQ0SDBO8TFINEQjISxxTDl9/cT50=;
h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject:
To:Cc:Content-Type; b=OOupekA47xviZBwOp2ldu6WTeXmOlli+qB89uyEvXTOisLyDT3U4hs5SO1gVhOOprvugl/jqSPVFI7FylFUHsUOO9Iw1R8Vz1wJgs7Igmj1fSJ+tHH6Prgh8aHtGTSgkFliD3Tjqd28ko7knzRAEc7FZPlUpdECNE/DviqJy5Qs=
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=aGDJil1a; arc=pass smtp.client-ip=209.85.215.172
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com
X-Received: by mail-pg1-f172.google.com with SMTP id 41be03b00d2f7-cc758830601so486365a12.2
for <git@vger.kernel.org>; Sat, 10 Oct 2026 13:06:30 -0700 (PDT)
X-ARC-Seal: i=1; a=rsa-sha256; t=1791662790; cv=none;
d=google.com; s=arc-20260327;
b=jQKjICD+p+F8D0albp6AjTTHKnf1ZczoRz8QSvNXqAeKLb3970f4TTNxIBYsWTx/NY
Jg16NglELH0wkq5EpvevlPmrR02IjFgB6OdP3wcU2YuQL0y+RhDsPcjza6C+w/d/O/rU
zTlfhJDoCIBc2q45FCuH0DUfDNPN+dGtwYlmCj/sxkekA8hX2CvO+gxp/0OP9DhoUZlu
w17K9yPLNBPckLwM32u1oN/dB0Udji0vPWZJu8bEn4Qo9kC2wqk2rBnjmPlkGGVE6+iA
1dA4BKjjrWCoQr0jokynnnUp1rreqiV3lLqnfcnLO43unJZoiyYw9bDyR0Zjah1Me2iR
naVQ==
X-ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327;
h=cc:to:subject:message-id:date:from:in-reply-to:references
:mime-version:dkim-signature;
bh=wNtXwDYh8nt6ooAxnGr9R+tBSqA4ecYPv+C0djQzuFY=;
fh=1wRPJuRcj69fVlcjMjeNqzjtAI4nfVwfLNlcA538DJE=;
b=lI+RPxKZzfoAqW7LHbxTkFhnb7QNz3bHI6f6HPoUevyEIoMcNrTwlv4dQSqE43yx1f
ZtDIha2r1B+R3CM4YFG+xHsc+qC/LfwTLXc6CHsxlWWBIVgzqvHKanh6kj32eZBopNMe
MAdgKXFKcenVT8N9B578Kyydi24im6hKk40QsbZdPyaYWy4ThWvrsaIy9fhk+4zE6gKD
Bx/eZ8gbfA3Qy9ivpRhSF+I37PLXWnBdVnEYzlFaAOvq/TRXRHVt9lfV9rKRnCcZr6Wl
8D2nYBab/Sqz+fub0AQpqp2zx0nV5egvr5/ixahczKhQMQFKNRDrCwYxGDUuplTHJaDg
jjgQ==;
darn=vger.kernel.org
X-ARC-Authentication-Results: i=1; mx.google.com; arc=none
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20251104; t=1791662790; x=1792267590; darn=vger.kernel.org;
h=content-type:cc:to:subject:message-id:date:from:in-reply-to
:references:mime-version:from:to:cc:subject:date:message-id:reply-to
:content-type;
bh=wNtXwDYh8nt6ooAxnGr9R+tBSqA4ecYPv+C0djQzuFY=;
b=aGDJil1aa8ZxgCa7MNSnAIWSzz1DNdLbYdIlNYqwSfYa75rry7RGMVCsyky6HAY1I2
HUI+uyLWpJ8BWnV7GgDksG9qkxeriDyhmbrhFIks/VUOiH0ypFxve7y1nWM0yNBDagIb
dCScIRu6XzdYNPBoJ7zTtpveq7bwLRAALnHQ97n/wL9fZkoHvwmJK7tt/AxjgDYxuwrs
nGz48Dw0e4gUN+vY+/xt/niEO1C97VKpNSgak/hPln05p9V+9nFk4qdAkxvSsIKUbePm
G90IPSd8PH9A7nWRpw+NwA53MFDTJp1DNhNoarQAlstfcsiIoP/+nOjeQhc9X63dJpHC
ft2A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1791662790; x=1792267590;
h=content-type:cc:to:subject:message-id:date:from:in-reply-to
:references:mime-version:x-gm-gg:x-gm-message-state:from:to:cc
:subject:date:message-id:reply-to:content-type;
bh=wNtXwDYh8nt6ooAxnGr9R+tBSqA4ecYP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864mr4637391637.40.1791662790324; Sat, 10 Oct 2026
13:06:30 -0700 (PDT)
X-Precedence: bulk
X-Mailing-List: git@vger.kernel.org
X-List-Subscribe: <mailto:git+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:git+unsubscribe@vger.kernel.org>
X-In-Reply-To: <xmqqwlrs2rvc.fsf@gitster.g>
X-Gm-Features: AclHuK9S-nkx3z1z3G84hRswCMGJpCTpoBcwpXf0e6Zyi_QQswUdcu1_PNLtmEs
X-Cc: git@vger.kernel.org, coygeek@gmail.com, ben.knoble@gmail.com