summaryrefslogtreecommitdiff
path: root/src/io.c%252525253fid%252525253d8b39637a628cba915e81f836aad74ec05bf0c285%2525253f...
diff options
context:
space:
mode:
authorLars Henriksen <LarsHenriksen@get2net.dk>2018-08-23 20:45:38 +0200
committerLukas Fleischer <lfleischer@calcurse.org>2018-10-21 20:01:34 +0200
commit5ad0019b2326e4012299e36682669ca767f39cd4 (patch)
tree08ebd6a2b9a4a7ee2826d89bb973dea8c11181a2 /src/io.c%252525253fid%252525253d8b39637a628cba915e81f836aad74ec05bf0c285%2525253fid%2525253d8b39637a628cba915e81f836aad74ec05bf0c285%25253fid%25253dd7777ed44e085ee809688379aef96dc05883b2fa%253fid%253d5ad0019b2326e4012299e36682669ca767f39cd4%3fid%3d5ad0019b2326e4012299e36682669ca767f39cd4?id=5ad0019b2326e4012299e36682669ca767f39cd4
parentab0fe682255f01e75b70a6ee3e95795020be8dd7 (diff)
Only reload if data files were changed (replacement)
This is a replacement for commits 57dd3d6 and 912124b. The idea is to move the check for modified files and the list initialization into io_load_data(), and let io_load_data() decide what to load. A new argument is used to force a load. The return code from new_data() (the renamed version of io_check_data_files_modified()) tells which files have changed. Signed-off-by: Lars Henriksen <LarsHenriksen@get2net.dk> Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'src/io.c%252525253fid%252525253d8b39637a628cba915e81f836aad74ec05bf0c285%2525253fid%2525253d8b39637a628cba915e81f836aad74ec05bf0c285%25253fid%25253dd7777ed44e085ee809688379aef96dc05883b2fa%253fid%253d5ad0019b2326e4012299e36682669ca767f39cd4%3fid%3d5ad0019b2326e4012299e36682669ca767f39cd4?id=5ad0019b2326e4012299e36682669ca767f39cd4')
0 files changed, 0 insertions, 0 deletions