diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2014-03-11 12:18:44 +0800 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2014-03-11 12:18:44 +0800 |
commit | f9907bbfa4368be7412ab3ade6be354225409652 (patch) | |
tree | cdeb0f8ec24e30357f66efb0d1e2ce17512fe659 /serve.go | |
parent | 52837e3d36658cd58076ee0b9d9d99800b5ade88 (diff) | |
download | gitea-f9907bbfa4368be7412ab3ade6be354225409652.tar.gz gitea-f9907bbfa4368be7412ab3ade6be354225409652.zip |
add README support for creating repository
Diffstat (limited to 'serve.go')
-rw-r--r-- | serve.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |