gitea/modules
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
..
analyze
auth
avatar
base
cache
charset
context
convert
cron
emoji
eventsource
generate
git Always return a list from GetCommitsFromIDs (#12981) 2020-09-29 22:26:54 +01:00
gitgraph
graceful
highlight
httplib
indexer
lfs
log
markup
metrics
migrations
nosql
notification
options
password
pprof
private
process
public
queue
recaptcha
references
repofiles
repository
secret
session
setting
ssh
storage
structs
svg
sync
task
templates
test
timeutil
upload
user
util
validation
webhook