diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2014-07-16 23:22:36 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2014-07-16 23:31:31 +0200 |
commit | 5aec5408950ed41fad203e749bda225bd3f86a8b (patch) | |
tree | 87e49708cb0ab6d8ca92484ac331cd6a42a166a6 /src/args.c | |
parent | e93030befb2aebe94faf5c5455313d312611d7b3 (diff) | |
download | calcurse-5aec5408950ed41fad203e749bda225bd3f86a8b.zip |
Allow for merging data files when reloading
This allows for merging the (unsaved) items with the items from the data
files when invoking the reload operation. To this end, an external merge
tool (defaults to vimdiff) is used.
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/args.c')
-rw-r--r-- | src/args.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -707,8 +707,8 @@ int parse_args(int argc, char **argv) io_load_app(); io_load_todo(); io_import_data(IO_IMPORT_ICAL, ifile); - io_save_apts(); - io_save_todo(); + io_save_apts(path_apts); + io_save_todo(path_todo); non_interactive = 1; } if (xflag) { |