]> source.dussan.org Git - gitea.git/commit
Retry rename on lock induced failures (re-fix) (#16461) (#16463)
authorzeripath <art27@cantab.net>
Fri, 16 Jul 2021 16:48:39 +0000 (17:48 +0100)
committerGitHub <noreply@github.com>
Fri, 16 Jul 2021 16:48:39 +0000 (17:48 +0100)
commite6c222511dec43565d869fd805fce214049e6776
treef4df36fe8969e0be7568a53ff4cc72cccca8de1c
parent62fa153f9f36fed810e99f6f53f93dd756288096
Retry rename on lock induced failures (re-fix) (#16461) (#16463)

Backport #16461

Unfortunately #16435 asserts the wrong error and should use
os.LinkError not os.PathError.

Fix #16439

Signed-off-by: Andrew Thornton <art27@cantab.net>
modules/util/remove.go