]> source.dussan.org Git - gitea.git/commit
Handle broken references in mirror sync (#17013)
authorzeripath <art27@cantab.net>
Thu, 21 Oct 2021 08:45:25 +0000 (09:45 +0100)
committerGitHub <noreply@github.com>
Thu, 21 Oct 2021 08:45:25 +0000 (16:45 +0800)
commit053b2f4dce2c404bcd7cb828147deb4b99ab71e6
tree514c609fb4dad268d156fcb055b6ec06f1b4039e
parent2add8fe9beede4aa82c913fcb70c0cf5bb1c6185
Handle broken references in mirror sync (#17013)

* Handle broken references in mirror sync

If there are broken references during a mirror attempt to fix using `git remote prune`.

Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
services/mirror/mirror_pull.go