diff options
author | Justin Nuß <justin.nuss@hmmh.de> | 2014-07-04 11:41:43 +0200 |
---|---|---|
committer | Justin Nuß <justin.nuss@hmmh.de> | 2014-07-04 11:41:43 +0200 |
commit | a481672c5cec1efe8d4856b393e98775c55ad8bc (patch) | |
tree | 6fbedb5f9e385379c0f82023991564b4b16d57d2 /models | |
parent | 0820b24f0bea6a0ce2f9c035a581bcf829ad0e13 (diff) | |
download | gitea-a481672c5cec1efe8d4856b393e98775c55ad8bc.tar.gz gitea-a481672c5cec1efe8d4856b393e98775c55ad8bc.zip |
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"} ) |