summaryrefslogtreecommitdiffstats
path: root/modules/git/ref.go
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2020-09-29 22:26:54 +0100
committerGitHub <noreply@github.com>2020-09-29 22:26:54 +0100
commitfe79b13ab2ce9526fae10a5257b4e171cae30ecb (patch)
tree1b846b92b99e07423f744a683440de8843832d47 /modules/git/ref.go
parent1bcf1ad6434e45c28b9232032284299334663026 (diff)
downloadgitea-fe79b13ab2ce9526fae10a5257b4e171cae30ecb.tar.gz
gitea-fe79b13ab2ce9526fae10a5257b4e171cae30ecb.zip
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>
Diffstat (limited to 'modules/git/ref.go')
0 files changed, 0 insertions, 0 deletions