Closed
Description
Problem
If user doesn't use net.git-fetch-with-cli
option, cargo shows the progress bar.
However it doesn't show anything and stalls up to some minutes (at least looks like so) with that option enabled.
It may make users feel anxious, so I think it should show progress somehow too.
❯ cargo add tokio
Updating crates.io index
Fetch [ ] 2.28%, 258.75KiB/s
❯ CARGO_NET_GIT_FETCH_WITH_CLI=true cargo add tokio
Updating crates.io index
Proposed Solution
I think redirecting git
's stdout to user is reasonable solution.
It is the best if we could parse git
's output and show the progress bar used in normal fetch, but it might be too expensive to implement.
Notes
No response