Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gvfs-helper: simplify progress output during prefetch (#594)
* [x] This change only applies to interactions with Azure DevOps and the GVFS Protocol. A user reported confusion when presented with the progress indicators for several `git index-pack` subprocesses during a prefetch. This happened by surprise, and is related to our issues with GVFS Cache Servers rejecting credentials and thus halting background maintenance until a foreground fetch happens. In the meantime, we can modify our progress output to be simpler in this case. There are two changes: 1. We unconditionally stifle output from `git index-pack`. It would be preferrable to pass a `-q` parameter, but it is not available. This prevents two progress indicators per prefetch packfile. 2. We add a conditional `Installing prefetch packfiles: ..% (X/Y)` indicator in the loop that installs these packfiles via `git index-pack`. This shows progress feedback frequently enough that users know something is happening without overwhelming their terminal interface.
- Loading branch information