summaryrefslogtreecommitdiffstats
path: root/routers/repo/setting.go
diff options
context:
space:
mode:
authorUnknwon <joe2010xtmf@163.com>2014-12-12 01:29:36 -0500
committerUnknwon <joe2010xtmf@163.com>2014-12-12 01:29:36 -0500
commit2f3a7e53cb58e922055baf3cf14138100a1f05ac (patch)
tree847a3474584d616a16013aa0edf13de7118be91d /routers/repo/setting.go
parent42c7bb75295ae7587b7ca36f103a7dc25f87754a (diff)
downloadgitea-2f3a7e53cb58e922055baf3cf14138100a1f05ac.tar.gz
gitea-2f3a7e53cb58e922055baf3cf14138100a1f05ac.zip
fix #735
Diffstat (limited to 'routers/repo/setting.go')
-rw-r--r--routers/repo/setting.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/repo/setting.go b/routers/repo/setting.go
index 491448a792..94c642b2b2 100644
--- a/routers/repo/setting.go
+++ b/routers/repo/setting.go
@@ -72,6 +72,7 @@ func SettingsPost(ctx *middleware.Context, form auth.RepoSettingForm) {
}
log.Trace("Repository name changed: %s/%s -> %s", ctx.Repo.Owner.Name, ctx.Repo.Repository.Name, newRepoName)
ctx.Repo.Repository.Name = newRepoName
+ ctx.Repo.Repository.LowerName = strings.ToLower(newRepoName)
}
br := form.Branch