diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-03-09 15:32:42 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-03-09 19:36:39 -0700 |
commit | 6f3be56d8d76b0216f3b9283623d9249547a2d01 (patch) | |
tree | ff09a879622519e9e6c7a615f01c8ed27011dd95 /helpers.h | |
parent | 6ef38967ffa0d8a78193698d29e86ffbab1bb864 (diff) | |
download | subsurface-6f3be56d8d76b0216f3b9283623d9249547a2d01.tar.gz |
Add event parsing to the git object tree loader
This makes us parse everything we save, and I can load my XML file, save
it as a git file, load that git file, save it as a new XML file, and the
end result is identical.
Well... *ALMOST* identical. We currently don't save the dive computer
nickname and serial/firmware information in the git repository, so that
does get lost in translation. But all the actual dive data is there.
NOTE! I have currently only worked with my own dive files. They are
reasonably complex and complete, and do have a lot of the interesting
cases covered (like multiple dive computers etc), but there's no CCR
information, and all the dives are in trips, so this does need more
testing. It's at the very least very close.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'helpers.h')
0 files changed, 0 insertions, 0 deletions