aboutsummaryrefslogtreecommitdiffstats
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, 2 insertions, 1 deletions
diff --git a/core/save-git.c b/core/save-git.c
index 7d7c8d9d2..4c80b3b29 100644
--- a/core/save-git.c
+++ b/core/save-git.c
@@ -157,7 +157,8 @@ static void save_cylinder_info(struct membuffer *b, struct dive *dive)
put_pressure(b, cylinder->end, " end=", "bar");
if (cylinder->cylinder_use != OC_GAS)
put_format(b, " use=%s", cylinderuse_text[cylinder->cylinder_use]);
-
+ if (cylinder->depth.mm != 0)
+ put_milli(b, " depth='", cylinder->depth.mm, " m'");
put_string(b, "\n");
}
}