summaryrefslogtreecommitdiffstats
path: root/subsurface-core/divesite.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-23 12:09:18 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-23 12:09:18 -0700
commitcc0f29898068c376c38563e9e60f2a5d978abc0c (patch)
tree6a32066ed46ca2e3dc4c33097e529b16bb521f3c /subsurface-core/divesite.cpp
parentbff3588c2587fe49efa21ddafaae0800473778b6 (diff)
downloadsubsurface-cc0f29898068c376c38563e9e60f2a5d978abc0c.tar.gz
When clearing dive file data, forget the saved git sha
Otherwise parse_file() thinks that this data has already been loaded and doesn't re-read it, even though our internal data structures have been erased - so a subsequent parse_file after clear_dive_file_data() that opens the same git repository finishes successfully, but leaves the dive_table empty which is of course incorrect. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-core/divesite.cpp')
0 files changed, 0 insertions, 0 deletions