diff options
Diffstat (limited to 'save-xml.c')
-rw-r--r-- | save-xml.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/save-xml.c b/save-xml.c index 6fd089f7c..fdcaccc94 100644 --- a/save-xml.c +++ b/save-xml.c @@ -637,12 +637,12 @@ int save_dives_logic(const char *filename, const bool select_only) struct membuffer buf = { 0 }; FILE *f; void *git; - const char *branch; + const char *branch, *remote; int error; - git = is_git_repository(filename, &branch); + git = is_git_repository(filename, &branch, &remote); if (git) - return git_save_dives(git, branch, select_only); + return git_save_dives(git, branch, remote, select_only); try_to_backup(filename); |