Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix 500 error on repos with no tags (go-gitea#11870)
go-gitea#11846 Introduced feature to show exact tag on commit view. However if a repo has no tags at all git prints out a separate and unhandled error " No names found, cannot describe anything." Adding --always to the command makes it always use the error in the style of "fatal: no tag exactly matches" even if there are no tags at all. Fixes go-gitea#11869 Fixes go-gitea#11868
- Loading branch information