diff options
author | Lukas Fleischer <lfleischer@calcurse.org> | 2017-09-07 20:17:20 +0200 |
---|---|---|
committer | Lukas Fleischer <lfleischer@calcurse.org> | 2017-09-08 21:08:53 +0200 |
commit | 9137590e7a6e29f9d3d512bc8e64e38a850fbef6 (patch) | |
tree | f0d56042b52152c3ba59b4758d5f9e695f8853d5 /test/data/apts-event-006 | |
parent | fb1524b4e26c55e15c12332fc85b3805645ae228 (diff) | |
download | calcurse-9137590e7a6e29f9d3d512bc8e64e38a850fbef6.tar.gz calcurse-9137590e7a6e29f9d3d512bc8e64e38a850fbef6.zip |
Do not blindly overwrite files when saving
When reading the data files, compute a cryptographic hash of the file
contents and store it. When saving the files later, ensure that the hash
still matches the current file contents. If it does not, show a warning
to the user and ask whether she wants to execute the merge tool.
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'test/data/apts-event-006')
0 files changed, 0 insertions, 0 deletions