diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-06-12 12:32:12 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-06-12 13:56:23 -0700 |
commit | e21cae2d46db8148dc294c2dff08d9321274f815 (patch) | |
tree | 3c96b90a46cc43534bc332aa1157cdb62c8a5ec5 /file.c | |
parent | 492369b3125b2c1c91f134c360110440b03d33b6 (diff) | |
download | subsurface-e21cae2d46db8148dc294c2dff08d9321274f815.tar.gz |
Cloud storage: sync the remote after save
This change once again tests if the remote can be reached. Even with a
fairly big data file and a medium speed internet connection the remote
sync is fast enough to call it nearly instantaneous. Maybe a couple of
seconds.
We may need more checks / different heuristics / warnings if the sync
didn't happen, etc. But for now this should allow more reasonable testing.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -425,7 +425,7 @@ int parse_file(const char *filename) char *fmt; int ret; - git = is_git_repository(filename, &branch); + git = is_git_repository(filename, &branch, NULL); if (git && !git_load_dives(git, branch)) return 0; |