diff options
author | Unknown <joe2010xtmf@163.com> | 2014-03-27 07:26:03 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-03-27 07:26:03 -0400 |
commit | ce679cce52d8939fb75b4bad322738dc1d97bb4e (patch) | |
tree | 6de6a5c8d2e4d6749a67ff8353a5335351631c66 /models | |
parent | bc1abb010dde0fa657c43dd3777ba55e59087b11 (diff) | |
download | gitea-ce679cce52d8939fb75b4bad322738dc1d97bb4e.tar.gz gitea-ce679cce52d8939fb75b4bad322738dc1d97bb4e.zip |
Update Wiki
Diffstat (limited to 'models')
-rw-r--r-- | models/repo.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/repo.go b/models/repo.go index 0ef049cc6e..e74643577a 100644 --- a/models/repo.go +++ b/models/repo.go @@ -104,7 +104,7 @@ func IsRepositoryExist(user *User, repoName string) (bool, error) { var ( // Define as all lower case!! - illegalPatterns = []string{"[.][Gg][Ii][Tt]", "raw", "user", "help", "stars", "issues", "pulls", "commits", "admin", "repo", "template", "admin"} + illegalPatterns = []string{"[.][Gg][Ii][Tt]", "raw", "user", "help", "stars", "issues", "pulls", "commits", "repo", "template", "admin"} ) // IsLegalName returns false if name contains illegal characters. |