diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-06-13 08:01:06 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-06-13 09:14:48 -0700 |
commit | 9a22efb97b78da00dbc8fdfdc9fa5db9eac84708 (patch) | |
tree | 77f9b278b187bfeb0ac16863f6e434b8dec98c15 /save-git.c | |
parent | e21cae2d46db8148dc294c2dff08d9321274f815 (diff) | |
download | subsurface-9a22efb97b78da00dbc8fdfdc9fa5db9eac84708.tar.gz |
Move git related declarations into their own header file
Also change the name of the enum and make sure all the inner functions get
passed the remote transport information.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'save-git.c')
-rw-r--r-- | save-git.c | 3 |
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); } } } |