diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2023-02-24 12:13:12 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2023-02-24 12:13:12 -0800 |
commit | 3fa7218567bdcf958f1342c13c848c9e2f2d38c5 (patch) | |
tree | 7be9e2b1d85c18cbb8eeb062da22b7d14c233c6b | |
parent | 6351be27c38642916e394cbf331ecc2cbb25f4fe (diff) | |
download | diffutils-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-- | TODO | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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: |