]> source.dussan.org Git - gitea.git/commit
Prevent migration 156 failure if tag commit missing (#15519)
authorzeripath <art27@cantab.net>
Fri, 16 Apr 2021 23:28:40 +0000 (00:28 +0100)
committerGitHub <noreply@github.com>
Fri, 16 Apr 2021 23:28:40 +0000 (19:28 -0400)
commitb1e138511ba6f881b4e1566ca4c157374d542624
tree3fa001f8f11ddda5ce196891e93fe6f7228dd4c0
parent324cff68c97d766a04464488a73ccf7ad54931d9
Prevent migration 156 failure if tag commit missing (#15519)

It is possible that tag commits could be deleted or missing from repos. This causes
migration 156 to fail and breaks upgrade.

This PR simply logs the failure.

Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: 6543 <6543@obermui.de>
models/migrations/v156.go