mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-28 14:43:52 +03:00
d1562bfc34
This fixes an issue I noticed with #10803: when you create a repo with a non-master default branch, gitea doesn't change the remote ref HEAD, so it still points at refs/heads/master. As a result, cloning my repos gives me error messages and doesn't check out the desired default branch, so I need to manually check it out after cloning. |
||
---|---|---|
.. | ||
branch.go | ||
check.go | ||
commits.go | ||
commits_test.go | ||
create.go | ||
create_test.go | ||
fork.go | ||
fork_test.go | ||
generate.go | ||
hooks.go | ||
init.go | ||
main_test.go | ||
repo.go | ||
update.go |