From f69698569ff79965580c3a8c23d9e59fc1810fc7 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Fri, 8 Sep 2017 20:53:17 +0200 Subject: Recompute hashes after saving After saving the data files, we need to recompute and store the hashes to make sure the updated contents is reflected. Signed-off-by: Lukas Fleischer --- src/io.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/io.c b/src/io.c index 4d80e3f..d61f4c6 100644 --- a/src/io.c +++ b/src/io.c @@ -588,6 +588,9 @@ void io_save_cal(enum save_display display) keys_wait_for_any_key(win[KEY].p); } + io_compute_hash(path_apts, apts_sha1); + io_compute_hash(path_todo, todo_sha1); + io_mutex_unlock(); run_hook("post-save"); } -- cgit v1.2.3-70-g09d2