summaryrefslogtreecommitdiffstats
path: root/test/data/apts-appointment-004
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@calcurse.org>2017-09-07 20:17:20 +0200
committerLukas Fleischer <lfleischer@calcurse.org>2017-09-08 21:08:53 +0200
commit9137590e7a6e29f9d3d512bc8e64e38a850fbef6 (patch)
treef0d56042b52152c3ba59b4758d5f9e695f8853d5 /test/data/apts-appointment-004
parentfb1524b4e26c55e15c12332fc85b3805645ae228 (diff)
downloadcalcurse-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-appointment-004')
0 files changed, 0 insertions, 0 deletions