summaryrefslogtreecommitdiffstats
path: root/subsurface-core
diff options
context:
space:
mode:
Diffstat (limited to 'subsurface-core')
-rw-r--r--subsurface-core/divelist.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/subsurface-core/divelist.c b/subsurface-core/divelist.c
index de4fa528e..bac63ed97 100644
--- a/subsurface-core/divelist.c
+++ b/subsurface-core/divelist.c
@@ -44,6 +44,7 @@
#include "display.h"
#include "planner.h"
#include "qthelperfromc.h"
+#include "git-access.h"
static short dive_list_changed = false;
@@ -1159,4 +1160,5 @@ void clear_dive_file_data()
existing_filename = NULL;
reset_min_datafile_version();
+ saved_git_id = "";
}