From: Junio C Hamano Date: Sat, 07 Nov 2026 05:25:25 GMT Subject: Re: [BUG] git apply: pure rename followed by edit fails with core.fileMode=false Message-ID: In-Reply-To: <20261107040715.436-1-aniketgupta3001@gmail.com> Aniket Gupta writes: > The series in Hannes's report is valid input which is what format-patch > makes for a commit that renames a file followed by one which edits it. Do you mean these are two commits, and format-patch created two messages? If so, applying these two patches in one invocation of "git apply" is exactly what I was questioning. I would understand two separate invocations of "git apply", or "git am" fed two input files, though.