forgejo/models/db
oliverpool 077160b838
fix calReleaseNumCommitsBehind (#24148) (#24197)
Backport #24148

`repoCtx.CommitsCount` is not reliably the commit count of the default
branch (Repository.GetCommitsCount depends on what is currently
displayed).

_contributed in the context of @forgejo_

---------

Co-authored-by: Giteabot <teabot@gitea.io>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: silverwind <me@silverwind.io>
2023-04-22 12:30:24 -04:00
..
install
paginator
common.go
consistency.go
context.go
context_committer_test.go
context_test.go
convert.go
engine.go
engine_test.go
error.go
index.go
index_test.go
iterate.go
iterate_test.go fix calReleaseNumCommitsBehind (#24148) (#24197) 2023-04-22 12:30:24 -04:00
list.go
list_test.go fix calReleaseNumCommitsBehind (#24148) (#24197) 2023-04-22 12:30:24 -04:00
log.go
main_test.go
name.go
search.go
sequence.go
sql_postgres_with_schema.go