diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-05-14 15:07:58 +0900 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-05-14 16:04:45 +0900 |
commit | 4f29a47afb727f8839ce7a1237ca8d4243d781fd (patch) | |
tree | 0f8bc3cd723257755605f9939d9c23154cd21ef9 /dives/test23.xml | |
parent | a8fbd3d283d8fe48b9e9658d81bbaee2a25b5a69 (diff) | |
download | subsurface-4f29a47afb727f8839ce7a1237ca8d4243d781fd.tar.gz |
git load: initialize dive computer timestamp and duration from dive
We don't save the dive computer timestamp and duration if they match the
dive timestamp and duration. But that means that on loading, we need to
default the dive computer time/duration to the dive one. If they
differ, the loading of the divecomputer file will then override the
default timestamp/duration.
This mainly matters if a later dive merge then changes the timestamp of
the dive: the dive computer timestamp needs to have been set correctly
and not change.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dives/test23.xml')
0 files changed, 0 insertions, 0 deletions