summaryrefslogtreecommitdiffstats
path: root/core/save-git.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/save-git.c')
-rw-r--r--core/save-git.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/core/save-git.c b/core/save-git.c
index 13d0b4870..b13921c60 100644
--- a/core/save-git.c
+++ b/core/save-git.c
@@ -883,9 +883,6 @@ static void save_divesites(git_repository *repo, struct dir *tree)
for (int i = 0; i < dive_site_table.nr; i++) {
struct membuffer b = { 0 };
struct dive_site *ds = get_dive_site(i, &dive_site_table);
- /* Only write used dive sites */
- if (!is_dive_site_used(ds, false))
- continue;
struct membuffer site_file_name = { 0 };
put_format(&site_file_name, "Site-%08x", ds->uuid);
show_utf8(&b, "name ", ds->name, "\n");