aboutsummaryrefslogtreecommitdiffstats
path: root/src/calcurse.h
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2014-07-17 11:47:00 +0200
committerLukas Fleischer <calcurse@cryptocrack.de>2014-07-17 12:03:34 +0200
commitae7d2d4c6b53160bfe0beae13dfb36b879451bba (patch)
tree9be18476f7ec7497b2e95643aa1af60f82b07eaf /src/calcurse.h
parent7920e761c9827cbd9d3fb47d663d90596da3c310 (diff)
downloadcalcurse-ae7d2d4c6b53160bfe0beae13dfb36b879451bba.tar.gz
calcurse-ae7d2d4c6b53160bfe0beae13dfb36b879451bba.zip
Only run the merge tool on files with differences
If the backup file and the data file are equal, there is no need to run the merge tool. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/calcurse.h')
-rw-r--r--src/calcurse.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/calcurse.h b/src/calcurse.h
index e125021..6d592f7 100644
--- a/src/calcurse.h
+++ b/src/calcurse.h
@@ -781,6 +781,7 @@ void io_stop_psave_thread(void);
void io_set_lock(void);
unsigned io_dump_pid(char *);
unsigned io_get_pid(char *);
+int io_files_equal(const char *, const char *);
int io_file_is_empty(char *);
int io_file_cp(const char *, const char *);
void io_unset_modified(void);