/
niceSOFT
/
diffutils
Обзор
Документация
Войти
/
niceSOFT
/
diffutils
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
v3.10
TODO
15 строк
623 B
Paul Eggert
maint: add 'diff --git' TODO
24 фев 2023, 23:13
24 фев 2023, 23:13
3fa7218
Код
Авторство
О чём код?
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: http://www.pkix.net/~chuck/sdiff2.diff Propagate stderr from subprocess so that diff3 does a better job of explaining _why_: > $ diff3 /bin/sh /bin/false /bin/mv > diff3: subsidiary program 'diff' failed (exit status 2)