diff options
author | 无闻 <joe2010xtmf@163.com> | 2014-07-04 14:28:46 -0400 |
---|---|---|
committer | 无闻 <joe2010xtmf@163.com> | 2014-07-04 14:28:46 -0400 |
commit | ae7f3eed78bf79eb3dfd49d4a2837fe4913ef89c (patch) | |
tree | 6fbedb5f9e385379c0f82023991564b4b16d57d2 /models | |
parent | 0820b24f0bea6a0ce2f9c035a581bcf829ad0e13 (diff) | |
parent | a481672c5cec1efe8d4856b393e98775c55ad8bc (diff) | |
download | gitea-ae7f3eed78bf79eb3dfd49d4a2837fe4913ef89c.tar.gz gitea-ae7f3eed78bf79eb3dfd49d4a2837fe4913ef89c.zip |
Merge pull request #272 from nuss-justin/dev
Add 'pprof' tag for enabling debugging
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 d95f8b1a71..b7f5ad25ce 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"} ) |