You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/modules/repository
Abheek Dhawan f316582458
Set the default branch for repositories generated from templates (#19136)
* Set the default branch for repositories generated from templates
* Allows default branch to be set through the API for repos generated from templates
* Update swagger API template
* Only set default branch to the one from the template if not specified
* Use specified default branch if it exists while generating git commits

Fix #19082 

Co-authored-by: John Olheiser <john.olheiser@gmail.com>
Co-authored-by: zeripath <art27@cantab.net>
2 years ago
..
commits.go Propagate context and ensure git commands run in request context (#17868) 2 years ago
commits_test.go Propagate context and ensure git commands run in request context (#17868) 2 years ago
create.go Delete old git.NewCommand() and use it as git.NewCommandContext() (#18552) 2 years ago
create_test.go Add `GetUserTeams` (#18499) 2 years ago
generate.go Set the default branch for repositories generated from templates (#19136) 2 years ago
hooks.go format with gofumpt (#18184) 2 years ago
init.go Delete old git.NewCommand() and use it as git.NewCommandContext() (#18552) 2 years ago
main_test.go Decouple unit test code from business code (#17623) 3 years ago
push.go Delete old git.NewCommand() and use it as git.NewCommandContext() (#18552) 2 years ago
repo.go Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) (#19163) 2 years ago