This repository was archived by the owner on Sep 11, 2020. It is now read-only.
This repository was archived by the owner on Sep 11, 2020. It is now read-only.
git.Fetch with Progress hangs up after 90 seconds #972
Open
Description
I am working on very large repository (8+ gb), and am attempting to fetch the entire remote repository with go-git. When I set the following, I get an EOF
from the source repository.
This makes me think that go-git does not properly utilize the side-channel.
err = repo.FetchContext(ctx, &git.FetchOptions{
RemoteName: "origin",
RefSpecs: []gitconfig.RefSpec{gitconfig.RefSpec(refspec)},
Progress: os.Stdout,
Force: true,
})
Setting Progress: nil
allows it to complete