From 3fa7218567bdcf958f1342c13c848c9e2f2d38c5 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Fri, 24 Feb 2023 12:13:12 -0800 Subject: [PATCH] maint: add 'diff --git' TODO * TODO: Suggest better compatibility with 'git diff -p'. From a suggestion by Linus Torvalds . --- TODO | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/TODO b/TODO index 5132de8..25fc22b 100644 --- a/TODO +++ b/TODO @@ -1,3 +1,9 @@ +Add --git option to generate output compatible with 'git diff -p'. +This would behave like 'diff -p', except that it would also generate +the extended headers 'old mode', 'new mode', 'deleted file mode', and +'new file mode', and it would quote file names with unusual characters. +GNU patch already parses this format. + Add --include option (opposite of --exclude). Look into sdiff improvement here: -- 2.37.2