Article View: linux.kernel.git
Article #2688Re: [BUG] git apply: pure rename followed by edit fails with core.fileMode=false
From: Aniket Gupta
Date: Mon, 09 Nov 2026 08:13
Date: Mon, 09 Nov 2026 08:13
5 lines
10853 bytes
10853 bytes
> could you please keep the relevant parts of the mail that you're > replying to? My bad. I'll take care of this from now on.
Technical Details
Message-ID:
<20261109081348.352831-1-aniketgupta3001@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-74885-linux-kernel-git=dewy.ruReferences:
<avF86vESF26lpNv2@pks.im>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-74885-linux-kernel-git=dewy.ru
From: aniketgupta3001@gmail.com (Aniket Gupta)
Newsgroups: linux.kernel.git
Subject: Re: [BUG] git apply: pure rename followed by edit fails with core.fileMode=false
Date: Mon, 9 Nov 2026 08:13:48 +0000
Organization: Usenet Network
Message-ID: <20261109081348.352831-1-aniketgupta3001@gmail.com>
References: <avF86vESF26lpNv2@pks.im>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
logging-data="306294"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:hBWL+ZV7iHr961F1GWVOcKgsiqI= sha256:GSMFU/1AVvKg8LfzrpkGBokzeVSS9snmMwBNlZ/b2vs=
sha1:qGC9LMpV4ZAlTbGygTDykRURDmg= sha256:DOQUTdETA0ZKvHb/C1539u/tPr2V+B6foFwtiN5YLyc=
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 286E211373C; Mon, 9 Nov 2026 11:14:11 +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, FREEMAIL_FORGED_FROMDOMAIN=0.001,
FREEMAIL_FROM=0.001, 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] 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 txDPEdzyQFcO;
Mon, 9 Nov 2026 11:14:07 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=git+bounces-74885-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 tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
by mail.dewy.ru (Postfix) with ESMTPS id 4C71511373B; Mon, 9 Nov 2026 11:13:58 +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 D4FB363C2D; Mon, 9 Nov 2026 08:13:56 +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=1794212036;
b=3ou0c3I8oNE4ssiI0jJ9z1zM6jH4Lh6AyVKX3cY0hasPDAVl+xCjuDHUotREw0QNblnp
iucMbz+Ipprg+vahi+YfV+EY7KL2xyqW5PVIz3nufju8hNhKQceo0ym+P57Xp1sooXwQN
oJCCY+1QWO49tINuOhpjq2OIvJYfZphom86FVUXWUNyJF37unLofvnGTTA3r35+4joAVP
BpZTD7YaomxNoAsCk4vu0v+bnTvkia7nW6rvhwrhYNqrjb96yFtVRWjbUe4a23qFrphvV
4FU/WMFr0nw2cgQKo6XlHecaympqTalLnv70/Hh/8b6Z3eR02646A+CWJoJjZ61Xxqw==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1794212036;
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:Received:From:To:Cc:Subject:Date:Message-ID:
X-Mailer:In-Reply-To:References:X-Mailing-List:List-Id:List-Post:
List-Help:List-Subscribe:List-Unsubscribe:List-Owner:Precedence:
MIME-Version:Content-Transfer-Encoding;
bh=dwoio5uYkhfZXnAjvpgQtCN1rs+YJnL37J6X8K0DT94=;
b=2UaM5TrnDV/QUg2dp6XQObDVh0iOOTnUjjWeJ7zhK8ipjK62I0UehW2urRVrFpKfOf61
psPat7EE4x4zVeHfWW2ujOJhIzvkX5Je5L589N8H9PpvzcjysOwPM586S8Gm1/omOotmG
G3P//BTHfZVHP03V1QhuldeTxOoLRoa75D/NtY9ACyJswnwo4L9F2YQtYQJlyjWQd6PeA
BbM9IgMb8cVvsn/xW/pVr20ptPb8hHulwVM5WwWUHNqsyLiGWxbXXHPf8n6EZx2QUvVpO
/pyuL4JvIkrbWwb51845OjUenSaFzu/Be+BXG8Il8sb0BikhKnedSbUfXrbPOxoc5Gg==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org;
dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=DNBWSP7i;
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 56960606A330;
Mon, 9 Nov 2026 08:13:56 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=DNBWSP7i
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.215.177
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
t=1794212035;
b=jLsDMvOsVEVW9xKY6T1qi/Pnc2mOShsYL+P305VjokNBUfEwRpnWqPS+7qGM4hpJAEal
dyRXqHJxYrV234nOOcKieIqH08AHPlU+uiiV3Rq7p8ikAgQ1ud+ysm8ZRWZbOTHXp6R6g
koa6VAQu+5FabLHRDWSw2+T23j/q7wdAn4ccioUVAzrZ6vWenBLE3GIojRthksGCT0E0H
YBpgsGw5sImsUG+DeEz2SsuahhwHB/P4cP7nkDZnIrHEogXBuiaZ+q0965pOiDVRXpCXH
DfyZosehGQezgeLfJpvMK0uCJMcBWg+lMkrDqJ2aDwmusjkK0CuKx7l96KmFOe30mpQ==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1794212035;
h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature:
X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received:
From:To:Cc:Subject:Date:Message-ID:X-Mailer:In-Reply-To:References:
MIME-Version:Content-Transfer-Encoding;
bh=dwoio5uYkhfZXnAjvpgQtCN1rs+YJnL37J6X8K0DT94=;
b=0bH4gtnkfDfIpm8hjCCjx9QUtFcdMyExJuy3p9UAsKuFQB5cFqTdbAly5F6ZyXvDDbpG
PXzqwKVZE9rxZg/EuugmZGJDxVliIwk5onnyfrC3VgmLyCEfEjwg4ZTs2ZJ3H7q/3/qbv
zuMayjtP0cxDXdXvfyO7R1ZWWxCFMp4+c32hYYvo66pq8RrrTGA11Enr4Un+XFWOn91sR
PxkaSdFFLAS+Bw2XsbV5JI8GUzyiuxKH1iA7gfTnFb04ff7WXD7NPcoUYCN87YxzJtzyY
DhIAnIG/NvxYwXe2B+VU9JYXigzTMdshvEAaaNPMVOoQTWeHUedQgwiyzqI/lNVS3cA==
X-ARC-Authentication-Results: i=1; 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=20260707 header.b=DNBWSP7i;
arc=none smtp.remote-ip=209.85.215.177
X-Received: from mail-pg1-f177.google.com (mail-pg1-f177.google.com [209.85.215.177])
(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 2674C606A31C
for <git@vger.kernel.org>; Mon, 9 Nov 2026 08:13:55 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 2674C606A31C
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-f177.google.com with SMTP id 41be03b00d2f7-cd60c5da24cso268664a12.0
for <git@vger.kernel.org>; Mon, 09 Nov 2026 00:13:55 -0800 (PST)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20260707; t=1794212034; x=1794816834; darn=vger.kernel.org;
h=content-transfer-encoding:mime-version:references:in-reply-to
:message-id:date:subject:cc:to:from:from:to:cc:subject:date
:message-id:reply-to:content-type;
bh=dwoio5uYkhfZXnAjvpgQtCN1rs+YJnL37J6X8K0DT94=;
b=DNBWSP7ilF4to5W7wVvO/R1T/OAVj0GHCAghWFUMBPard9QosbLUbu17iujUZ5UOlt
EdykYF662lNRuZiGD8ZjXY1jqyndD0pr6IGr1fMpP7Yccf1bLTfYcYNZ2ir1wAXIcR97
u1+eEIhHe6dIoF7BNgNRXWgNTgW7mNF4j9Blz7ep/9oVcnVtgmFI54htRz0NuZ4MJumQ
zWhdlriMQTXrPwRDjgq4cyAW4LOqa+66zSoUpJEprRERTHbLwnzLTmnMX/yMtuKzQWNv
284b98XuuV/M98/xJXylGoU7rWEQRAJ44TVyhDmkLDlQupHcGivw5O3m+SEVgziB4Me6
8Hyg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1794212034; x=1794816834;
h=content-transfer-encoding:mime-version:references:in-reply-to
:message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from
:to:cc:subject:date:message-id:reply-to:content-type;
bh=dwoio5uYkhfZXnAjvpgQtCN1rs+YJnL37J6X8K0DT94=;
b=P86rlRHRBzTofjRScZedczj6xYOapdTy5nV+UuQ4Zqg31yV31iTQVw9gAicIrU1t6Q
u+sWyZfFjT2Qlt2AvYnmCYemg1ateGnmxolAqANIes+Lo261Pvdsql6ruV9Sh/v9Eutl
rcrbaYNV43p5bcdQ9dl+MghrTIErsOLFJPbYSHepqRlIU102+CLJWM7EEYLW9uFlhjQh
y5z4FQ2GYHWkQwwL4JDDgXXdugL/YcLSE0kK+ocQ+tZiqdQog1PeKWeJftLagxFCMYCT
n4LWLl2fAkSzqa7kV70rG43kEYmffo2j06TgAejSLt2bq0howFOE7NCyKiGF0JsU9cII
2XpA==
X-Forwarded-Encrypted: i=1; AL+hErEuYi54k3NrFLbE9oxBYdY2ZdVYDIZlTST18GcYpKpdpRxeK5S7b+ouHjNBk67XeswrDmQ=@vger.kernel.org
X-Gm-Message-State: APuU4Z9DWUppxN4QEAkU10VUC58ZpJItPqLguEX6CihbDllqR4TKWbJZ
9kAvaPDSM//kvB/ctfg6bTfX2gvft23AVttJtLA9L9I6FsYzfKFa7aOmsU2GJ4cK
X-Gm-Gg: AYBFou32SV/OTFhya07sM/otTDB8Qp5fftrrdXK5nk50FgcjKs/V3szir/eNBy9atcF
9+oZH/2/dIIC/MmkWERj7TC2mIknMpo+91bHiXJMzwQNYgljb6iZlyhqa2JRbJVruok1FxGPI4l
/qWVbuc8hJxvnZqz+0mPuuuSZK0PVtQsSpfMp41EImVQov+nc7Wi/ZjG5mRCYAhLqkRHMr+1zlm
Y0S7ue33i3+kPRQs/UYbPBWWwP9T+7u5V387P2Wuqeif146ddwq2paGoYST7e3TQ6EvxPlGvTfb
PoFxNkSD5nMR+izIPVTpJ3XZbhxn08GS9TqrHgk5zQYxXen0uNGyNV1+tYRPZAPmWs0bY1kyIsg
T9gu6/QWvK3nnWvncqVduW23xknURGfEc+scNutv4X2d8m5aNCv/mC6Q2x/ptPZ4QKqVog3pp7F
ytvla7YlJZj+7P61VzVrt8gozm+GpTZvrOdqHyXGhtddLgo5BNzf2WNXbhfovI90EEcqM3QYyXj
6aAm7Bjo5VmeJpKGrTkfXd/UzquUxMW1MIDMVgyEblrcfwuenqDH/uBAxzNwdH+gpPvLxIO3mz/
ZWDPoIkbNzb7N5kFc1erySKcUkYxPmAjDC52VQrXNXH3SESgJDNEvaee7PFpOI9uwce8jzQ7DA=
=
X-Received: by 2002:a05:6a21:400f:b0:3ee:954c:1567 with SMTP id adf61e73a8af0-3eed3c5b78amr3173956637.30.1794212034415;
Mon, 09 Nov 2026 00:13:54 -0800 (PST)
X-Received: from LAPTOP-PVRSMPQK ([223.190.82.143])
by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8b64933fbcdsm1028229b3a.27.2026.11.09.00.13.52
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Mon, 09 Nov 2026 00:13:53 -0800 (PST)
X-Cc: Junio C Hamano <gitster@pobox.com>,
Hannes Brandstätter-Müller <hannes.mueller@gmail.com>,
git@vger.kernel.org
X-Mailer: git-send-email 2.56.0.344.gfa103ac04e
X-In-Reply-To: <avF86vESF26lpNv2@pks.im>
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