diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2024-01-16 15:13:07 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-16 08:13:07 +0100 |
commit | 930e38d010d59281550aeee5feac58e0b6085569 (patch) | |
tree | e3f3dd913f637429c6a7284bac004260f0623ed5 /modules/git/repo_commit_gogit.go | |
parent | 5374d29aa9644a979d8d6e8e100bb4e77641d74f (diff) | |
download | gitea-930e38d010d59281550aeee5feac58e0b6085569.tar.gz gitea-930e38d010d59281550aeee5feac58e0b6085569.zip |
Use refname:strip-2 instead of refname:short when syncing tags (#28797)
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
Diffstat (limited to 'modules/git/repo_commit_gogit.go')
0 files changed, 0 insertions, 0 deletions