Git development
 help / color / mirror / Atom feed
* [BUG] git diff go mad compared to diffutils
@ 2026-10-09  2:38 David Yang
  2026-10-13  5:57 ` Toon Claes
  0 siblings, 1 reply; 2+ messages in thread
From: David Yang @ 2026-10-09  2:38 UTC (permalink / raw)
  To: git

Hello Git community,

I'm using git 2.53.0 on Debian testing. During preparing a new version
for https://lore.kernel.org/all/20261001204851.2576101-3-mmyangfl@gmail.com/
, I've noticed git generated unusual distorted patch
https://github.com/yangfl/linux/commit/01e2de4664f60528dd9b4f15b5995fc5cb0e7b4f
. As you may see, GitHub diff is distorted as well.

With diffutils 3.12 (diff -u old new) I can get nice diff file with
delection only, just like the v2 patch.

Should this be considered a bug?

Thanks

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-10-13  5:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-09  2:38 [BUG] git diff go mad compared to diffutils David Yang
2026-10-13  5:57 ` Toon Claes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox