diff options
author | Andreas Gruenbacher <agruen@linbit.com> | 2012-09-13 16:13:08 +0200 |
---|---|---|
committer | Andreas Gruenbacher <agruen@linbit.com> | 2012-09-13 16:32:53 +0200 |
commit | 281537bcd92515ae3b9f154acd579ce97260f99b (patch) | |
tree | a1ddc6f6a3eb47176a08d79800db397620ef799f /src/util.h | |
parent | dc3cdeebca6639aac25a7d87dea816a03ed345da (diff) | |
download | patch-281537bcd92515ae3b9f154acd579ce97260f99b.tar.gz |
In a git-style diff, make sure not to unlink the original by accident
* src/patch.c (main): Fail if a file is not empty as expected.
(output_files): In a git-style diff, make sure not to unlink the original when
making a backup of an unmodified file.
* tests/create-delete: Fix failed-file-deletion test and add
successful-file-deletion test.
Diffstat (limited to 'src/util.h')
0 files changed, 0 insertions, 0 deletions