Don't quit if fetch operation returns already up-to-date
ci/woodpecker/push/woodpecker Pipeline was successful Details

This commit is contained in:
Elara 2023-05-04 12:05:22 -07:00
parent b03cecb28e
commit 1fae9dbb2a
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ func (GitDownloader) Download(opts Options) (Type, string, error) {
err = r.Fetch(&git.FetchOptions{
RefSpecs: []config.RefSpec{"+refs/*:refs/*"},
})
if err != nil {
if err != git.NoErrAlreadyUpToDate && err != nil {
return 0, "", err
}