]> source.dussan.org Git - gitea.git/commit
Fix broken when no commits and default branch is not master (#18422)
authorLunny Xiao <xiaolunwen@gmail.com>
Fri, 28 Jan 2022 02:51:16 +0000 (10:51 +0800)
committerGitHub <noreply@github.com>
Fri, 28 Jan 2022 02:51:16 +0000 (10:51 +0800)
commit401e5c817474436218af08602da5135774d2c0eb
treeb8a468725a75ac0c723b80074aeb10928db8add3
parent668718c67ed16a7c7bc6000140b00e3de51cd480
Fix broken when no commits and default branch is not master (#18422)

* Fix broken when no commits and default branch is not master

* Fix IsEmpty check

* Improve codes

* Add timeout
modules/git/repo.go