diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-04-04 15:55:04 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-04-07 07:46:27 -0700 |
commit | d8b92a18520a58646180e6b91cafd89dbb997fcb (patch) | |
tree | 419a18aad9bc9b957ab626f70086bd874867bbab /subsurface_enabled_translations | |
parent | 64a5f10cfe9bf82bcab3efc99961bd20cf602df9 (diff) | |
download | subsurface-d8b92a18520a58646180e6b91cafd89dbb997fcb.tar.gz |
git: don't check for git sha in parse_file()
parse_file() refused to load from a git repository if we already
had that repository and there were no changes. However, this only
checked the global divelist_changed flag, which does not track
undo-commands. Thus, after editing dives the user couldn't reload
from git.
Remove this check. It is somewhat questionable that the io layer
refuses to load from a repository anyway. Let the caller decide.
There appears to be a check_git_sha function for that purpose(?).
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'subsurface_enabled_translations')
0 files changed, 0 insertions, 0 deletions