0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-19 08:22:44 +01:00
gitea/modules/git/foreachref
Giteabot 4746291b08
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>
2024-01-16 07:33:33 +00:00
..
format.go
format_test.go Use refname:strip-2 instead of refname:short when syncing tags (#28797) (#28811) 2024-01-16 07:33:33 +00:00
parser.go
parser_test.go Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00