]> source.dussan.org Git - gitea.git/commit
Exclude default branch from pushed branch hint (#25795)
authorLunny Xiao <xiaolunwen@gmail.com>
Mon, 10 Jul 2023 11:18:55 +0000 (19:18 +0800)
committerGitHub <noreply@github.com>
Mon, 10 Jul 2023 11:18:55 +0000 (11:18 +0000)
commit2f31d2d56c22400b2e79b279a5d0e845febba137
treeb6e5d1aecacba0d9a4f8e2aeec9dcbb81f0bd623
parent0fd1672ae49a5f69fca7d90336ae75be83a21014
Exclude default branch from pushed branch hint (#25795)

When pushing to default branch, no pushing hint should be prompt.
Fix #25778

---------

Co-authored-by: Giteabot <teabot@gitea.io>
models/git/branch.go
routers/web/repo/view.go