]> source.dussan.org Git - gitea.git/commit
Fix broken when no commits and default branch is not master (#18424)
authorLunny Xiao <xiaolunwen@gmail.com>
Fri, 28 Jan 2022 06:48:18 +0000 (14:48 +0800)
committerGitHub <noreply@github.com>
Fri, 28 Jan 2022 06:48:18 +0000 (14:48 +0800)
commitce272f2e53062ca94e860e1565aa5e8ed9c670c2
treea672feb940e49976e9bed3e155129821682196ef
parent9d9ad1b59fe062e4e87248a7333dc6414260815c
Fix broken when no commits and default branch is not master (#18424)

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

* Fix IsEmpty check

* Improve codes
modules/git/repo.go