1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-23 02:38:35 +00:00
This commit is contained in:
Unknown
2014-04-13 04:27:29 -04:00
parent d26a333dfb
commit ea74be2f2e
5 changed files with 24 additions and 1 deletions

View File

@@ -107,6 +107,10 @@ func MigratePost(ctx *middleware.Context, form auth.MigrateRepoForm) {
}
func Single(ctx *middleware.Context, params martini.Params) {
if ctx.Query("go-get") == "1" {
base.GoGetMetas[strings.TrimSuffix(ctx.Repo.CloneLink.HTTPS, ".git")] = true
}
branchName := ctx.Repo.BranchName
userName := ctx.Repo.Owner.Name
repoName := ctx.Repo.Repository.Name