diff options
author | Giteabot <teabot@gitea.io> | 2024-01-16 15:33:33 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-16 07:33:33 +0000 |
commit | 4746291b0863eaf9c629c944bd48295ca2f69d2f (patch) | |
tree | 8f0631c2b2f958e0185a1e14ad8da3615049bb7d /web_src | |
parent | 022552d5b6adc792d3cd16df7de6e52cb7b41a72 (diff) | |
download | gitea-4746291b0863eaf9c629c944bd48295ca2f69d2f.tar.gz gitea-4746291b0863eaf9c629c944bd48295ca2f69d2f.zip |
Use refname:strip-2 instead of refname:short when syncing tags (#28797) (#28811)
Backport #28797 by @lunny
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
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Diffstat (limited to 'web_src')
0 files changed, 0 insertions, 0 deletions