[PATCH 00/12] Git save format patches

Linus Torvalds torvalds at linux-foundation.org
Sun Mar 9 18:40:28 PDT 2014

The first two in this patch-series are bugfixes to the saving part that I 
sent earlier already, so if you've applied them you can ignore them.

Or alternatively, you can just ignore the earlier emails, because this 
12-patch series is based on your current upstream git tree.

With this, I can now save everything I have in my dives. I have not tested 
other things, so there may be things lurking, but basically it should be 
possible to load an XML file, save it as a git tree, load the git tree and 
save it as a new XML file, and the end result *should* be the same as the 
original XML file.

It is for me.

Famous last words.


Linus Torvalds (12):
  Enumerate dive computers when saving them in the git repository
  Fix event saving in git format due to wrong argument order
  git save format: add dive computer nicknames and firmware details
  git dive loading: actually insert the dives into the dive table
  git repository reading: start reading the actual file contents
  Start actually parsing the git object data
  Parse basic trip and dive data from the git blobs
  Parse basic dive computer sample data
  Parse key/value pairs in dive computer samples too
  parse cylinder and weightsystem information
  Add event parsing to the git object tree loader
  parse divecomputer model nickname/firmware/serial information

 load-git.c  | 953 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 parse-xml.c |   2 +-
 save-git.c  |  52 +++-
 3 files changed, 987 insertions(+), 20 deletions(-)


More information about the subsurface mailing list