summaryrefslogtreecommitdiffstats
path: root/save-git.c
diff options
context:
space:
mode:
Diffstat (limited to 'save-git.c')
-rw-r--r--save-git.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/save-git.c b/save-git.c
index 662ec408f..c918f012f 100644
--- a/save-git.c
+++ b/save-git.c
@@ -13,6 +13,7 @@
#include "dive.h"
#include "device.h"
#include "membuffer.h"
+#include "git-access.h"
#include "version.h"
/*
@@ -1140,7 +1141,7 @@ static int do_git_save(git_repository *repo, const char *branch, const char *rem
if (prefs.cloud_background_sync) {
/* now sync the tree with the cloud server */
if (strstr(remote, "https://cloud.subsurface-divelog.org")) {
- sync_with_remote(repo, remote, branch);
+ sync_with_remote(repo, remote, branch, RT_HTTPS);
}
}
}