techknowlogick 85be939c2a properly set symbolic-ref HEAD when a repo is created with a non-master default branch (#12135) (#12182)
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.

Co-authored-by: xenofem <45297511+xenofem@users.noreply.github.com>
2020-07-08 00:40:22 -04:00
..
2020-04-05 07:20:50 +01:00
2020-04-05 07:20:50 +01:00
2019-06-12 15:41:28 -04:00
2018-11-04 22:20:00 -05:00
2019-06-12 15:41:28 -04:00
2020-04-05 07:20:50 +01:00
2019-11-22 08:03:45 +00:00
2019-03-08 11:42:50 -05:00
2019-08-17 13:10:17 +03:00
2020-04-05 07:20:50 +01:00