mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-06 21:45:50 +01:00
Add http.receivepack=true in repository creation.
This commit is contained in:
@@ -34,6 +34,9 @@ class CreateRepositoryServlet extends ScalatraServlet with ServletBase {
|
||||
|
||||
repository.create
|
||||
|
||||
val config = repository.getConfig
|
||||
config.setBoolean("http", null, "receivepack", true)
|
||||
config.save
|
||||
|
||||
if(description.nonEmpty){
|
||||
val tmpdir = getInitRepositoryDir(LoginUser, repositoryName)
|
||||
|
||||
Reference in New Issue
Block a user