On Fri, Jul 23, 2021 at 9:23 AM Atharva Raykar <raykar.ath@xxxxxxxxx> wrote: > I am not too familiar with this area, and I don't know how feasible it is to > delay setting up the environment until after looking at the 'ls-remote' > arguments. At a cursory glance, it looks difficult to do without large > structural changes to the code. Understood. This happened to bite us particularly hard, because the context where we found it is during a `go mod download` and `go` swallows the error, attempts something else and then reports that the something else failed with no indication what the underlying error is. It took us a while to track down what was going on (see https://github.com/golang/go/issues/47311).