mirror of https://github.com/go-gitea/gitea
Fix 500 error on repos with no tags (#11870)
#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 #11869 Fixes #11868pull/11873/head
parent
bc4f7ba69b
commit
d729d685d0
Loading…
Reference in new issue