From a481672c5cec1efe8d4856b393e98775c55ad8bc Mon Sep 17 00:00:00 2001 From: Justin Nuß <justin.nuss@hmmh.de> Date: Fri, 4 Jul 2014 11:41:43 +0200 Subject: Add 'pprof' tag for enabling debugging --- models/repo.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'models/repo.go') diff --git a/models/repo.go b/models/repo.go index d95f8b1a..b7f5ad25 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"} ) -- cgit v1.2.3