Don't quit if fetch operation returns already up-to-date
ci/woodpecker/push/woodpecker Pipeline was successful
Details
ci/woodpecker/push/woodpecker Pipeline was successful
Details
This commit is contained in:
parent
b03cecb28e
commit
1fae9dbb2a
|
@ -96,7 +96,7 @@ func (GitDownloader) Download(opts Options) (Type, string, error) {
|
||||||
err = r.Fetch(&git.FetchOptions{
|
err = r.Fetch(&git.FetchOptions{
|
||||||
RefSpecs: []config.RefSpec{"+refs/*:refs/*"},
|
RefSpecs: []config.RefSpec{"+refs/*:refs/*"},
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != git.NoErrAlreadyUpToDate && err != nil {
|
||||||
return 0, "", err
|
return 0, "", err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue