summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@linbit.com>2012-09-13 16:13:08 +0200
committerAndreas Gruenbacher <agruen@linbit.com>2012-09-13 16:32:53 +0200
commit281537bcd92515ae3b9f154acd579ce97260f99b (patch)
treea1ddc6f6a3eb47176a08d79800db397620ef799f /src/util.h
parentdc3cdeebca6639aac25a7d87dea816a03ed345da (diff)
downloadpatch-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