diff options
Diffstat (limited to 'core/load-git.c')
-rw-r--r-- | core/load-git.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/core/load-git.c b/core/load-git.c index 01c231c77..8c39c494e 100644 --- a/core/load-git.c +++ b/core/load-git.c @@ -1675,19 +1675,19 @@ static int do_git_load(git_repository *repo, const char *branch) git_commit *commit; git_tree *tree; - git_storage_update_progress("do_git_load, find the commit"); ret = find_commit(repo, branch, &commit); if (ret) return ret; - git_storage_update_progress("git commit tree"); if (git_commit_tree(&tree, commit)) return report_error("Could not look up tree of commit in branch '%s'", branch); - git_storage_update_progress("load dives from tree"); + git_storage_update_progress(translate("gettextFromC", "Load dives from local cache")); ret = load_dives_from_tree(repo, tree); - if (!ret) + if (!ret) { set_git_id(git_commit_id(commit)); + git_storage_update_progress(translate("gettextFromC", "Successfully opened dive data")); + } git_object_free((git_object *)tree); - git_storage_update_progress("done do_git_load"); + return ret; } |