mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-05-20 08:37:52 +08:00

Fix #28694 Generally, `refname:short` should be equal to `refname:lstrip=2` except `core.warnAmbiguousRefs is used to select the strict abbreviation mode.` ref: https://git-scm.com/docs/git-for-each-ref#Documentation/git-for-each-ref.txt-refname