0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-04-14 04:26:05 +02:00
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
..
2020-09-12 21:48:47 -04:00
2020-08-27 22:47:17 -04:00