summaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-07-04 14:44:31 -0400
committerUnknown <joe2010xtmf@163.com>2014-07-04 14:44:31 -0400
commit7f3015b32b27d18300c0baaf26729a89dec43985 (patch)
tree8ed105f3d6ddbe5fb280d2694140e6ddf2537d52 /models
parent13b032f82920c78a890c66569fba372b9994b003 (diff)
parentae7f3eed78bf79eb3dfd49d4a2837fe4913ef89c (diff)
downloadgitea-7f3015b32b27d18300c0baaf26729a89dec43985.tar.gz
gitea-7f3015b32b27d18300c0baaf26729a89dec43985.zip
Merge branch 'dev' of github.com:gogits/gogs into dev
Diffstat (limited to 'models')
-rw-r--r--models/repo.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/repo.go b/models/repo.go
index 0fb28f2d1c..70f9341d7f 100644
--- a/models/repo.go
+++ b/models/repo.go
@@ -158,7 +158,7 @@ func IsRepositoryExist(u *User, repoName string) (bool, error) {
}
var (
- illegalEquals = []string{"raw", "install", "api", "avatar", "user", "org", "help", "stars", "issues", "pulls", "commits", "repo", "template", "admin", "new"}
+ illegalEquals = []string{"debug", "raw", "install", "api", "avatar", "user", "org", "help", "stars", "issues", "pulls", "commits", "repo", "template", "admin", "new"}
illegalSuffixs = []string{".git"}
)