diff options
author | xenofem <45297511+xenofem@users.noreply.github.com> | 2020-07-05 11:25:46 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-05 16:25:46 +0100 |
commit | d1562bfc341ea0b53d10ca194c5a59499b501745 (patch) | |
tree | bee7ec208483d5fe17067e740f9f919cdb449cd0 /web_src/less/_user.less | |
parent | 15d3aa7b95e37cc2e9a06208089169cbe04383b5 (diff) | |
download | gitea-d1562bfc341ea0b53d10ca194c5a59499b501745.tar.gz gitea-d1562bfc341ea0b53d10ca194c5a59499b501745.zip |
properly set symbolic-ref HEAD when a repo is created with a non-master default branch (#12135)
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.
Diffstat (limited to 'web_src/less/_user.less')
0 files changed, 0 insertions, 0 deletions