Skip to content

Fix bug in FindAllTags when commit shas are used as tag names

John Cai requested to merge jc-fix-find-all-tags into master

When commit shas are used as tag names, the catfile call finds the commit object instead of the tag object with the commit sha as the name. This threw an error. The fix is to use the tag id explicitly instead of using the tag name.

fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/58725

Merge request reports