summaryrefslogtreecommitdiffstats
path: root/core/save-git.c
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2017-10-02 17:24:26 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-10-02 09:52:39 -0700
commitf9a36132adbcb587f4810337700cf9a88044d337 (patch)
tree45d38be6f0720853d45d199cbf31bba14ee5ac46 /core/save-git.c
parent32e6ca49192a010b2c18d27a5eb5e9214bd4c098 (diff)
downloadsubsurface-f9a36132adbcb587f4810337700cf9a88044d337.tar.gz
[Divesite] Load / Save divesite country on git
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/save-git.c')
-rw-r--r--core/save-git.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/save-git.c b/core/save-git.c
index 548664239..be0d3920b 100644
--- a/core/save-git.c
+++ b/core/save-git.c
@@ -961,6 +961,7 @@ static void save_divesites(git_repository *repo, struct dir *tree)
}
struct membuffer site_file_name = { 0 };
put_format(&site_file_name, "Site-%08x", ds->uuid);
+ show_utf8(&b, "country ", ds->country, "\n");
show_utf8(&b, "name ", ds->name, "\n");
show_utf8(&b, "description ", ds->description, "\n");
show_utf8(&b, "notes ", ds->notes, "\n");