summaryrefslogtreecommitdiffstats
path: root/load-git.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-09-20 10:11:09 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-09-20 10:15:34 -0700
commitd0fba482b7fe81da1b5fe91b535a2ae7417f5cbb (patch)
tree2226618995f3fe2a7bf43ff8470a8cdbcece6794 /load-git.c
parent54ec332c2ff2e1c853a8b55b3aa55419b718e709 (diff)
downloadsubsurface-d0fba482b7fe81da1b5fe91b535a2ae7417f5cbb.tar.gz
Cloud storage: in verbose mode give lots of progress information
If a user gets stuck accessing cloud storage it's often hard to figure out which step is hanging which makes it much harder to narrow down the problem. With this patch calling Subsurface with '-v' will give somewhat finely grained progress information on stderr. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'load-git.c')
-rw-r--r--load-git.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/load-git.c b/load-git.c
index 5b5b13bf6..e6e0840ab 100644
--- a/load-git.c
+++ b/load-git.c
@@ -1531,7 +1531,7 @@ static int walk_tree_file(const char *root, const git_tree_entry *entry, git_rep
struct dive *dive = active_dive;
dive_trip_t *trip = active_trip;
const char *name = git_tree_entry_name(entry);
- if (verbose)
+ if (verbose > 1)
fprintf(stderr, "git load handling file %s\n", name);
switch (*name) {
/* Picture file? They are saved as time offsets in the dive */