diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2020-02-14 12:08:43 -0800 |
---|---|---|
committer | Robert C. Helling <helling@atdotde.de> | 2020-02-15 10:12:35 +0100 |
commit | 66a2b2e133608fdb8635560c64bbf6121662872e (patch) | |
tree | 8b59a37c89d7b7d751fc91487e3cbfb5182ec380 /libdivecomputer | |
parent | a9112e6e054d08a2a2af9eba167c3fdefb3f12c4 (diff) | |
download | subsurface-66a2b2e133608fdb8635560c64bbf6121662872e.tar.gz |
load-git: fix up any corrupted modechange event names
Because of the multiple string confusion, we'd get the names wrong for
modechange events. If we then made other changes to the dive and saved
the end result back, they'd now be wrong in the git cloud storage too.
Fix it up manually by just noticing that there's a 'divemode' string on
the event line, which can only happen with modechange events.
Maybe we should report the fixup? This just silently fixes it (but only
for the git save format).
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'libdivecomputer')
0 files changed, 0 insertions, 0 deletions