pkg/vcs: don't use --no-tags when fetching git

pkg/bisect uses Poll and then relies on tags for compiler detection.
Don't use --no-tags when fetching.

Update #501
This commit is contained in:
Dmitry Vyukov 2018-12-17 15:06:46 +01:00
parent 527230f1d9
commit 61adbb167e

View File

@ -50,7 +50,7 @@ func (git *git) Poll(repo, branch string) (*Commit, error) {
return nil, err
}
}
if _, err := runSandboxed(dir, "git", "fetch", "--no-tags"); err != nil {
if _, err := runSandboxed(dir, "git", "fetch"); err != nil {
// Something else is wrong, re-clone.
if err := git.clone(repo, branch); err != nil {
return nil, err