mirror of https://github.com/go-gitea/gitea
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>pull/12982/head
parent
1bcf1ad643
commit
fe79b13ab2
Loading…
Reference in new issue