summaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'file.c')
-rw-r--r--file.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/file.c b/file.c
index f3c697b0d..be8935a88 100644
--- a/file.c
+++ b/file.c
@@ -428,8 +428,7 @@ int parse_file(const char *filename)
int ret;
git = is_git_repository(filename, &branch, NULL);
- if (strstr(filename, "https://cloud.subsurface-divelog.org/git")
- && git == dummy_git_repository)
+ if (strstr(filename, prefs.cloud_git_url) && git == dummy_git_repository)
/* opening the cloud storage repository failed for some reason
* give up here and don't send errors about git repositories */
return 0;