4017abe2 | 17-Jul-2017 |
Enji Cooper <ngie@FreeBSD.org> |
Add tests that exercise -q, like -rq and add tests that test -q like -Nrq
MFC after: 2 months MFC with: r321076, r321077, r321078 |
2d920b13 | 17-Jul-2017 |
Enji Cooper <ngie@FreeBSD.org> |
Fix exit status with -rq when there is a file in one directory but not another, i.e., when print_only is called.
Prior to this change, -rq was always returning 0. After this change it will return 1
Fix exit status with -rq when there is a file in one directory but not another, i.e., when print_only is called.
Prior to this change, -rq was always returning 0. After this change it will return 1 if there is a difference between two directories.
This fixes compatibility with GNU diff and unbreaks backwards compatibility expectations.
Found when trying to extend diff_test:brief_format_test.
MFC after: 2 months MFC with: r321076, r321077
show more ...
|
fddcb7b8 | 20-Apr-2017 |
Baptiste Daroussin <bapt@FreeBSD.org> |
Implement a basic --changed-group-format
etcupdate(8) requires that option, while GNU diff supports many more variation of that options, their behaviour beside the simple verion implemented here are
Implement a basic --changed-group-format
etcupdate(8) requires that option, while GNU diff supports many more variation of that options, their behaviour beside the simple verion implemented here are quite inconsistent as such I do not plan to implement those.
The only special keyword supported by this implementation are: %< and %> %= is not implemented as the documentation of GNU diff says: common lines, but it actually when tested print the changes from the first file
show more ...
|