On Mon, Oct 28, 2024 at 05:57:54PM +0100, Peregi Tamás wrote: > Hi all, > > I might've found an inconsistency in how git-apply treats corrupt patches > (representing empty context lines with completely empty lines instead of > lines containing a single space - usually a result of a "trim trailing > whitespace" editor setting) based on whether the patch file uses > Windows-style line endings (CRLF) or Unix-style line endings (LF only). Let's see if any recent apply.c folks have thoughts...: $ git shortlog -nse --no-merges --since=3.years.ago.. -- apply.c 21 Elijah Newren <newren@xxxxxxxxx> 12 Patrick Steinhardt <ps@xxxxxx> 7 Ævar Arnfjörð Bjarmason <avarab@xxxxxxxxx> 5 Junio C Hamano <gitster@xxxxxxxxx> 4 Jeff King <peff@xxxxxxxx> 4 René Scharfe <l.s.r@xxxxxx> Thanks, Taylor