freebsd-dev/usr.bin/patch/tests
Kyle Evans 50dacbf6c2 patch(1): give /dev/null patches special treatment
We have a bad habit of duplicating contents of files that are sourced from
/dev/null and applied more than once... take the more sane (in most ways)
GNU route and complain if the file exists and offer reversal options.

This still falls short a little bit as selecting "don't reverse, apply
anyway" will still give you duplicated file contents. There's probably other
issues as well, but awareness is the first step to happiness.

MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D21535
2019-11-04 03:07:01 +00:00
..
Makefile
PR74127-cline.diff
PR74127-good.diff
PR74127-repro.diff
PR74127.in
unified_patch_test.sh patch(1): give /dev/null patches special treatment 2019-11-04 03:07:01 +00:00