diff --git a/internal/storage/fs/git/store.go b/internal/storage/fs/git/store.go index a8f2a67175..075727bc5d 100644 --- a/internal/storage/fs/git/store.go +++ b/internal/storage/fs/git/store.go @@ -288,9 +288,8 @@ func (s *SnapshotStore) fetch(ctx context.Context, heads []string) (bool, error) } if err := s.repo.FetchContext(ctx, &git.FetchOptions{ - Auth: s.auth, - RemoteURL: s.url, - RefSpecs: refSpecs, + Auth: s.auth, + RefSpecs: refSpecs, }); err != nil { if !errors.Is(err, git.NoErrAlreadyUpToDate) { return false, err