diff options
Diffstat (limited to 'subsurface-core')
-rw-r--r-- | subsurface-core/file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/subsurface-core/file.c b/subsurface-core/file.c index 644956dbd..3f6dd6dbb 100644 --- a/subsurface-core/file.c +++ b/subsurface-core/file.c @@ -486,8 +486,8 @@ int parse_file(const char *filename) return 0; } } - if (git && !git_load_dives(git, branch)) - return 0; + if (git) + return git_load_dives(git, branch); if ((ret = readfile(filename, &mem)) < 0) { /* we don't want to display an error if this was the default file or the cloud storage */ |