mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-08-03 00:45:22 +02:00
Properly enforce gitea environment for pushes (#9501)
#8982 attempted to enforce the gitea environment for pushes - unfortunately it tested the settings before they were actually read in - and therefore does not do that!
This commit is contained in:
parent
f2d03cda96
commit
4acca9d2e8
6 changed files with 36 additions and 8 deletions
|
@ -174,7 +174,7 @@ func generateRepoCommit(e Engine, repo, templateRepo, generateRepo *Repository,
|
|||
return fmt.Errorf("git remote add: %v", err)
|
||||
}
|
||||
|
||||
return initRepoCommit(tmpDir, repo.Owner)
|
||||
return initRepoCommit(tmpDir, repo, repo.Owner)
|
||||
}
|
||||
|
||||
// generateRepository initializes repository from template
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue