summaryrefslogtreecommitdiffstats
path: root/serve.go
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2014-03-11 12:18:44 +0800
committerLunny Xiao <xiaolunwen@gmail.com>2014-03-11 12:18:44 +0800
commitf9907bbfa4368be7412ab3ade6be354225409652 (patch)
treecdeb0f8ec24e30357f66efb0d1e2ce17512fe659 /serve.go
parent52837e3d36658cd58076ee0b9d9d99800b5ade88 (diff)
downloadgitea-f9907bbfa4368be7412ab3ade6be354225409652.tar.gz
gitea-f9907bbfa4368be7412ab3ade6be354225409652.zip
add README support for creating repository
Diffstat (limited to 'serve.go')
-rw-r--r--serve.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/serve.go b/serve.go
index 0c0584cd91..83ce06e882 100644
--- a/serve.go
+++ b/serve.go
@@ -123,7 +123,7 @@ func runServ(*cli.Context) {
println("Repository", user.Name+"/"+repoName, "is not exist")
return
} else if isWrite {
- _, err := models.CreateRepository(user, repoName, "", false)
+ _, err := models.CreateRepository(user, repoName, "", false, true, "")
if err != nil {
println("Create repository failed")
return