Re: [BUG] git apply: pure rename followed by edit fails with core.fileMode=false
- From
Patrick Steinhardt <ps@pks.im>
- Date
- Nov 9, 2026, 07:57 UTC
- Message-ID
- <avF86vESF26lpNv2@pks.im>
- In-Reply-To
- <20261107054701.298961-1-aniketgupta3001@gmail.com>
Hi Aniket,
On Sat, Nov 07, 2026 at 05:47:01AM +0000, Aniket Gupta wrote:
Show 6 quoted lines
> Hey Junio. Yup. Two commits. Hannes feeds the whole format-patch output > to a single git apply and separate invocations and git am work for him. > Though applying several patches that touch the same path in one > invocation is something git apply does on purpose. A pure rename > followed by an edit worked that way before 0482c32c33 and still does > with core.fileMode=true. It only breaks with =false.
one ask from my side for mailing list etiquette: could you please keep the relevant parts of the mail that you're replying to? Otherwise it becomes very hard to follow the discussion as one has no idea what parts of the mail you reply to specifically.
Thanks!
Patrick