core: convert git_info to std::string

Quite a bit of fallout in users of this structure.

Conveniently, since git-access.cpp is now C++ we can move
some helpers from the monstrous qthelper.cpp to git-access.cpp.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2024-03-11 21:41:14 +01:00 committed by bstoeger
parent ae299d5e66
commit a123589efb
13 changed files with 290 additions and 319 deletions

View file

@ -823,7 +823,6 @@ extern "C" int save_dives_logic(const char *filename, const bool select_only, bo
if (is_git_repository(filename, &info)) {
error = git_save_dives(&info, select_only);
cleanup_git_info(&info);
return error;
}