mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-09 22:18:39 +02:00
Backport #37325 by @lunny Fix a bug the checkout command line hint become `git fetch -u https://gitea.combircni/tea` Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
1 parent
adfa535dc2
commit
f0fd185f14
2 files changed
+15
-1
No files matched your search
@@ -81,5 +81,5 @@ func (c TemplateContext) AppFullLink(link ...string) template.URL {
|
||||
if len(link) == 0 {
|
||||
return template.URL(s)
|
||||
}
|
||||
return template.URL(s + strings.TrimPrefix(link[0], "/"))
|
||||
return template.URL(s + "/" + strings.TrimPrefix(link[0], "/"))
|
||||
}
|
||||
Reference in new issue
Block a user