Article View: linux.kernel.git
Article #1147Re: [PATCH v3 0/3] branch: let --delete-merged find squash merged branches
From: "D. Ben Knoble"
Date: Thu, 22 Oct 2026 12:55
Date: Thu, 22 Oct 2026 12:55
23 lines
12939 bytes
12939 bytes
On Wed, Oct 21, 2026 at 2:52โฏPM Harald Nordgren <haraldnordgren@gmail.com> wrote: > My branch being pruned because someone else did the same thing would > indeed feel weird. And it could be stopped by doing an author check. > > But I question if itโs realistic at all. The code has to be exactly > the same, and I donโt think I have ever seen that happen, I would call > this an extremely rare edge case. I have seen this happen when 2 PRs contain the same "npm update" commits and are rebased onto main: whoever gets there first wins. If the commits contained additional changes, then the later-rebased commit loses some changes because they were handled prior, but (when doing so via GitHub) the commit message is unchanged. I find this a bit confusing, tbh! But, I will say it is rare. Perhaps not "extremely" :) -- D. Ben Knoble
Technical Details
Message-ID:
<CALnO6CC0+t3PTVXC=TohzpqzgeOK4t9bKzGP-43uD1bbA4dPOg@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-72851-linux-kernel-git=dewy.ruReferences:
<pull.2425.v3.git.git.1792585717.gitgitgadget@gmail.com> <20261021173503.70887-1-me@jaspermayone.com> <CAHwyqnWnp0W17TXbXgLQPaGuwasqndgoPHV1CL3mBpfGFYadtw@mail.gmail.com>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-72851-linux-kernel-git=dewy.ru
From: ben.knoble@gmail.com ("D. Ben Knoble")
Newsgroups: linux.kernel.git
Subject: Re: [PATCH v3 0/3] branch: let --delete-merged find squash merged branches
Date: Thu, 22 Oct 2026 08:55:49 -0400
Organization: Usenet Network
Message-ID: <CALnO6CC0+t3PTVXC=TohzpqzgeOK4t9bKzGP-43uD1bbA4dPOg@mail.gmail.com>
References: <pull.2425.v3.git.git.1792585717.gitgitgadget@gmail.com>
<20261021173503.70887-1-me@jaspermayone.com> <CAHwyqnWnp0W17TXbXgLQPaGuwasqndgoPHV1CL3mBpfGFYadtw@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Info: usenet.network;
logging-data="212546"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:r8Su1lgJnVYHHMp0bbSJBlC2x4o= sha256:8wE20EzctBtp2D9hA4jKEBIFXNgzS9st6E9vpN0duEo=
sha1:U0Gpo8HYVhzpfwBhPUGcC/P2uAQ= sha256:KCqTBvD94byal37NG8VRWl1oTskdC0D/mMQWAh2jVr4=
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 C42D3111283; Thu, 22 Oct 2026 15:56:22 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.148
X-Spam-Status: No, score=-3.148 tagged_above=-9999 required=6.31
tests=[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.25, MAILING_LIST_MULTI=-1,
RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001]
autolearn=ham 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 1_CyxWlrTJ-4;
Thu, 22 Oct 2026 15:56:20 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=git+bounces-72851-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 sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74])
by mail.dewy.ru (Postfix) with ESMTPS id DC3DC11126A; Thu, 22 Oct 2026 15:56:10 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
by sto.lore.kernel.org (Postfix) with ESMTP id 1175160540A; Thu, 22 Oct 2026 12:56:04 +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=3; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
t=1792673763;
b=xWypJ4fpRro7EnGZcJYPD84rZU+DzyheQwlfapgbwfAo0ngku1Wg3VqlZ9sFyu9sYKs9
LxemT7Sl2g4I6nKfx4js7A9rBAfxb9XWDTNd/mouruufOO/Tqo/R6a0TwG+xcbvWw45Fz
KAuGcnVoX1Haz6VZEJONdRhUjqr9gz8+Hw/ONpQp6FaaiM6BR/5sZqmJ+kWMSVZD1TQZK
qAIjrNZCfJ/cXPqktTrT1xpFlop/FDWmnRxiILysWF/ur085xVqdHQT8rdtWcdusvpNd9
2cvsnkI2/BvUfjL9MGB+LO6O4Um9vu+rSFjKe6331wY6L/svLxKie3UF9ok6ZJnjE1A==
X-ARC-Message-Signature: i=3; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1792673763;
h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:
X-Google-DKIM-Signature:X-Forwarded-Encrypted:X-Gm-Message-State:
X-Gm-Gg:X-Received:X-Mailing-List:List-Id:List-Post:List-Help:
List-Subscribe:List-Unsubscribe:List-Owner:Precedence:MIME-Version:
References:In-Reply-To:From:Date:X-Gm-Features:Message-ID:Subject:To:
Cc:Content-Type:Content-Transfer-Encoding;
bh=ejH3+0hlVE5D/iuM5LRfw++9ql+AUQWS8H9cyzHwSNw=;
b=hGEUPaBo03hWhsX7FFsZ4duvflhnpZuHPZqzP7FYay3qsLbYQBYS/XWzdjZK4o7adqRy
XiCKijW4DrBMDP0okKDgheM6kjlpRvhLNkRlB/5PkRtSAe2P0YgRSA6Njjz2f8gL9koEk
3//kHnz5Ba9l995V9/SZrYrDycGBM6nBuCHNj3Zv/xs2n+SElVN742gASLk+u1hpf0hxt
5iIw/qun6TxGSAHsQQa7in01QY8pS77Id7QqUXyT1/YuZjzJToF5SDzHoEJ8VZjZSGsQq
PSrIzHHc4YAasLM4tlDMUTZZEvbxT3msJqU8h/qw2ihNDR9N/YYbn+8q9vClWBCXKdw==
X-ARC-Authentication-Results: i=3; smtp.subspace.kernel.org;
dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20251104 header.b=dh77MQ0W;
dmarc=pass header.from=gmail.com;
spf=pass smtp.mailfrom=gmail.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 1E6D8606A326;
Thu, 22 Oct 2026 12:56:03 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key, unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20251104 header.b=dh77MQ0W
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=209.85.210.179
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
t=1792673762;
b=YymK1cdR/zTevExMdNmR9Cs6Hwntn6Vut4KGRFOdv688u5xpC4+gpxKUnh2Q2P7H23G6
heGNpcI/4xhgq5RqvXN6kq1/NuouKsQimWFGZruUM0g4cotamRrib28Ha4Bfr+z25bI3r
zYxDaevThEljRxCDl0bs4kkHdbAopSPNURoBVnLZPqHn7o6M89RXkVSvjCZ+aWpDHUWOZ
no11t/4V3cD69DzherTjSjIadMryZUayYeZ6815WBWE9GL1am9PqfEoMn+iZygp626w+3
ciUWp566gnx3NDeWoSsTrepfDFliAwVX2wCXijsa4DHHoOEnKEaSTzifGrOuuVoMAVQ==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1792673762;
h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature:
X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:
MIME-Version:References:In-Reply-To:From:Date:X-Gm-Features:
Message-ID:Subject:To:Cc:Content-Type:Content-Transfer-Encoding;
bh=ejH3+0hlVE5D/iuM5LRfw++9ql+AUQWS8H9cyzHwSNw=;
b=NluanU+LLll7T5gjUC2BdRd5xDGftvZEGLEtwrh/AsjIJ8Zg7tKZgSvTjsxX3g/4mGHI
plG6yMLRMPvsnU6Q7bn6WvRWcEVtcNiw+/0pRTKPjPQHj2RDOxKYiH9k7JAy6zv/MF9uK
qU40MQUrglaeFx0fq0pD07lOT3jvyuTNglRCw6ARkiN7z3q8kGJE5qds1TkpMzSbkstuF
4JMx8kPam/PlJ5mLV+byD6PnR6XAlJ93hS5bN7E7F8t3fqyqhc8oE8hFUFvXemftRvnNE
P8E/C7kxQQ9Gct/cbLPHEWEWaAdPSoGnfI5YEKEaq8w/7bN6jAfry/c/lwe7njae3Pw==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org;
dmarc=pass header.from=gmail.com;
spf=pass smtp.mailfrom=gmail.com;
dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20251104 header.b=dh77MQ0W;
arc=pass header.oldest-pass=0 smtp.remote-ip=209.85.210.179
X-Received: from mail-pf1-f179.google.com (mail-pf1-f179.google.com [209.85.210.179])
(using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id D7514606A31B
for <git@vger.kernel.org>; Thu, 22 Oct 2026 12:56:01 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org D7514606A31B
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-pf1-f179.google.com with SMTP id d2e1a72fcca58-8a058315c79so819266b3a.3
for <git@vger.kernel.org>; Thu, 22 Oct 2026 05:56:01 -0700 (PDT)
X-ARC-Seal: i=1; a=rsa-sha256; t=1792673761; cv=none;
d=google.com; s=arc-20260327;
b=BYxS+z+/54lacEtD78QJAsglWiDmbijsXa/CdY5rq0iZ4Yf1e4TdtzMmzkhpJeYjlU
IB5fn7LLC9vkRPYfe/unTvTaqJbXR5ufq2cE9cwjW+g5Dyjyn2YOpXaxSZwWts2nmpK5
7lN4OGO/uHB8SAkVoYKNTQg8xq4q37wpAGn2NFMk2E3NiN4Fp7SzaJUltBNLzpPU8AnJ
ipPra/x358sh8gft/9NDNSMLIOgXGEdKOg0Qrd7lSUZK+O16WXNa7Jdv8yW21TjF3Ct4
M/5v3EwXHj06i+eibe6jox3zw/h704FGDJWL7JLJRHqJ/180vMuAZC2AfnFZb+Avo9yf
mNeQ==
X-ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327;
h=content-transfer-encoding:cc:to:subject:message-id:date:from
:in-reply-to:references:mime-version:dkim-signature;
bh=ejH3+0hlVE5D/iuM5LRfw++9ql+AUQWS8H9cyzHwSNw=;
fh=9CXoHcS+eRKCIvZA5DyYbrosCOmZ9TdAG9rI6gHtt2Q=;
b=HpVz2ZVR8PtE67PDnMz7COblu0Lr3+ZkVa6LaOZYnB3UEEaUaC+yfQx59bRvow2TnQ
fp1kHLsxORvfsOsAAbSyEP66p0wm7rDx7GdLlgWy3s6QdHxbU+GRx3r13zOdzIQRkKhS
/GxoJ/aPY0pbDOHxXdI3xDrO8u2yFUXYYx+UtlIPYplLqJ2WVTDNPbbKzbWXJRqSz/p4
6y+OFn8X16n4bkMD61UyWuAEmamCCBRpS47jlZNvECa8T6r9eKQiT7kL+k26xeG8uLJe
ayw5ScthoEp5hS1RqNdxRI9Zs895jCu/+sLg9RlB+qRVaMpXyoUok0WU0BODa/QSiBQX
TuLA==;
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=1792673761; x=1793278561; darn=vger.kernel.org;
h=content-transfer-encoding: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=ejH3+0hlVE5D/iuM5LRfw++9ql+AUQWS8H9cyzHwSNw=;
b=dh77MQ0WLVbFShCP+2vr+CINw5aViA1cRWDbr1WBOh4iNB2iFs/AYixkMwD1xOaoYw
qAJ+ZZ5GMSXLC6+YHimBTdsn8UfulZ6R+mBhf/FCuVH49t99UDA3aX/lERyh+OqWZl6T
K0PoHDzw4dmyEtV8kTOl7cFFRyQ6a/PQYcqq1zJp7AW0q4b5D2Rqcf6oySzMqlxxVFuM
HecUkLBw7C1HOWxUDRPTo5JAl4KIXaXuF1oT7TgqpBRywxL+/aKROuzQfpwH8yJ1MOCv
kUxOwItWzjPGfyE+1hvFxzixaBw7oRAMF6M0pgu2soKwb7JA4VKgIqH+rXT6htfjxbRB
vtFQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1792673761; x=1793278561;
h=content-transfer-encoding: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: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G
uMe6z3w9Ng483HmYVE+lfwZSKBCHJi5grG45J815XJM41g0waEfmewwCDr0CdtwRH76lvtcg0AD
KyJj9dzVrQrcK6vAkUkUXTZPHKmPv1q+9lya3hmOxbsQB+fBZHRGaF4/oBXTwcqZ7A2g==
X-Received: by 2002:a05:6a00:3c8d:b0:87d:dc3c:1b5e with SMTP id
d2e1a72fcca58-8a089d05d4bmr3927959b3a.26.1792673761176; Thu, 22 Oct 2026
05:56:01 -0700 (PDT)
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-In-Reply-To: <CAHwyqnWnp0W17TXbXgLQPaGuwasqndgoPHV1CL3mBpfGFYadtw@mail.gmail.com>
X-Gm-Features: AclHuK8NGU3ZcexFfrRGEsXveEZ-pHkujv4drDdV4sc3_TiXJOqimiTmtR2D2cs
X-Cc: Jasper Mayone <me@jaspermayone.com>, gitster@pobox.com, git@vger.kernel.org,
kristofferhaugsbakk@fastmail.com, phillip.wood123@gmail.com