summaryrefslogtreecommitdiffstats
path: root/save-xml.c
diff options
context:
space:
mode:
Diffstat (limited to 'save-xml.c')
-rw-r--r--save-xml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/save-xml.c b/save-xml.c
index 8aa5088af..0fdb39091 100644
--- a/save-xml.c
+++ b/save-xml.c
@@ -662,7 +662,7 @@ int save_dives_logic(const char *filename, const bool select_only)
const char *branch, *remote;
int error;
- git = is_git_repository(filename, &branch, &remote);
+ git = is_git_repository(filename, &branch, &remote, false);
if (git)
return git_save_dives(git, branch, remote, select_only);