mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
54ec332c2f
commit
d0fba482b7
4 changed files with 42 additions and 1 deletions
|
@ -1178,6 +1178,9 @@ int do_git_save(git_repository *repo, const char *branch, const char *remote, bo
|
|||
struct dir tree;
|
||||
git_oid id;
|
||||
|
||||
if (verbose)
|
||||
fprintf(stderr, "git storage: do git save\n");
|
||||
|
||||
/* Start with an empty tree: no subdirectories, no files */
|
||||
tree.name[0] = 0;
|
||||
tree.subdirs = NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue