1
1
mirror of https://github.com/go-gitea/gitea synced 2025-10-30 19:08:37 +00:00
Files
gitea/modules/git/repo_commit.go
zeripath fe79b13ab2 Always return a list from GetCommitsFromIDs (#12981)
`GetCommitsFromIDs` is only used in one place: `LoadPushCommits` where
it expects that `c.Commits` is not nil.

This potentially nil set causes a NPE in in #12953

Fix #12953

Signed-off-by: Andrew Thornton <art27@cantab.net>
2020-09-29 22:26:54 +01:00

16 KiB