From 5aec5408950ed41fad203e749bda225bd3f86a8b Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Wed, 16 Jul 2014 23:22:36 +0200 Subject: 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 --- src/args.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/args.c') diff --git a/src/args.c b/src/args.c index 8b62cb8..8a9aa49 100644 --- a/src/args.c +++ b/src/args.c @@ -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) { -- cgit v1.2.3-54-g00ecf