summaryrefslogtreecommitdiffstats
path: root/core/load-git.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-06-17 23:22:37 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-06-17 23:22:37 -0700
commitb2b51c833a2c6f71fe411b5f99ccbf3107ef9677 (patch)
treedb7a3bf3ddb6450a6c4514d684f4b03c9c97f4cf /core/load-git.c
parent2d5f023b5811ffde028d5c9b680cd99f9f1448f9 (diff)
downloadsubsurface-b2b51c833a2c6f71fe411b5f99ccbf3107ef9677.tar.gz
QML UI: redesign the user notification
The old system of cloud access updates with fake percentages just wasn't helpful. Even worse, it hid a lot important information from the user. This should be more useful (but it will require that we localize the messages sent from the git progress notifications and make them more 'user ready'). Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/load-git.c')
-rw-r--r--core/load-git.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/load-git.c b/core/load-git.c
index 59bb4ef71..01c231c77 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(false, "do_git_load, find the commit");
+ git_storage_update_progress("do_git_load, find the commit");
ret = find_commit(repo, branch, &commit);
if (ret)
return ret;
- git_storage_update_progress(false, "git commit tree");
+ 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(false, "load dives from tree");
+ git_storage_update_progress("load dives from tree");
ret = load_dives_from_tree(repo, tree);
if (!ret)
set_git_id(git_commit_id(commit));
git_object_free((git_object *)tree);
- git_storage_update_progress(false, "done do_git_load");
+ git_storage_update_progress("done do_git_load");
return ret;
}