diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-02-12 22:54:39 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-02-12 22:54:39 -0800 |
commit | ae49a8a4f7c277644a62b096585ee467f3cad5c7 (patch) | |
tree | 09605a835cdb655b7e5b125c6b8a887128ad9da1 /save-git.c | |
parent | b2f0d21d43fb42918041e492cd5cb18253505960 (diff) | |
download | subsurface-ae49a8a4f7c277644a62b096585ee467f3cad5c7.tar.gz |
Get location from dive site for git commit message
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'save-git.c')
-rw-r--r-- | save-git.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/save-git.c b/save-git.c index 764805d03..2069b4c29 100644 --- a/save-git.c +++ b/save-git.c @@ -960,7 +960,7 @@ static void create_commit_message(struct membuffer *msg) if (dive) { dive_trip_t *trip = dive->divetrip; - const char *location = dive->location ? : "no location"; + const char *location = get_dive_location(dive) ? : "no location"; struct divecomputer *dc = &dive->dc; const char *sep = "\n"; |