gitea/modules
zeripath 8de44d1995
Clean-up HookPreReceive and restore functionality for pushing non-standard refs (#16705)
* Clean-up HookPreReceive and restore functionality for pushing non-standard refs

There was an inadvertent breaking change in #15629 meaning that notes refs and other
git extension refs will be automatically rejected.

Further following #14295 and #15629 the pre-recieve hook code is untenably long and
too complex.

This PR refactors the hook code and removes the incorrect forced rejection of
non-standard refs.

Fix #16688

Signed-off-by: Andrew Thornton <art27@cantab.net>
2021-09-16 15:34:54 +02:00
..
analyze
auth
avatar
base
cache
charset
context
convert
cron
csv
doctor
emoji
eventsource
generate
git
gitgraph
graceful
hcaptcha
highlight
httpcache
httplib
indexer
json
lfs
log
markup
matchlist
metrics
migrations
nosql
notification
options
password
pprof
private
process
proxy
public
queue
recaptcha
references
repofiles
repository
secret
session
setting
ssh
storage
structs
svg
sync
task
templates
test
timeutil
translation
typesniffer
upload
uri
user
util
validation
web