mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-07 05:55:51 +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
|
repository.create
|
||||||
|
|
||||||
|
val config = repository.getConfig
|
||||||
|
config.setBoolean("http", null, "receivepack", true)
|
||||||
|
config.save
|
||||||
|
|
||||||
if(description.nonEmpty){
|
if(description.nonEmpty){
|
||||||
val tmpdir = getInitRepositoryDir(LoginUser, repositoryName)
|
val tmpdir = getInitRepositoryDir(LoginUser, repositoryName)
|
||||||
|
|||||||
Reference in New Issue
Block a user