summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2023-02-24 12:13:12 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2023-02-24 12:13:12 -0800
commit3fa7218567bdcf958f1342c13c848c9e2f2d38c5 (patch)
tree7be9e2b1d85c18cbb8eeb062da22b7d14c233c6b
parent6351be27c38642916e394cbf331ecc2cbb25f4fe (diff)
downloaddiffutils-3fa7218567bdcf958f1342c13c848c9e2f2d38c5.tar.gz
maint: add 'diff --git' TODO
* TODO: Suggest better compatibility with 'git diff -p'. From a suggestion by Linus Torvalds <https://lkml.org/lkml/2023/2/24/797>.
-rw-r--r--TODO6
1 files changed, 6 insertions, 0 deletions
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: