mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-14 22:16:14 +01:00
6da194fae8
- When an admin wants syncronize tags in the Git data to the database via the admin dashboard all annoted tags loses their title. This was caused because the code didn't correctly handle annoted tags. Annoted tags have their own objectID to store the annoted message, unlike 'normal' tags which point to the commitID. While the function was being run for annoted tags, the code thought it found a mismatch in the objectIDs, because the stored version was actually correct which pointed to the commitID but the code found the objectID of the annoted tag. - Make `SyncReleasesWithTags` corectly handle annoted tags. - Added unit and integration tests. - Resolves #5628 |
||
---|---|---|
.. | ||
branch.go | ||
branch_test.go | ||
collaborator.go | ||
collaborator_test.go | ||
commits.go | ||
commits_test.go | ||
create.go | ||
create_test.go | ||
delete.go | ||
env.go | ||
fork.go | ||
hooks.go | ||
init.go | ||
init_test.go | ||
license.go | ||
license_test.go | ||
main_test.go | ||
push.go | ||
repo.go | ||
repo_test.go | ||
temp.go |