0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-25 22:55:17 +01:00
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 Use git attributes to determine generated and vendored status for language stats and diffs (#16773) 2021-09-09 21:13:36 +01:00
auth Add bundle download for repository (#14538) 2021-08-24 11:47:09 -05:00
avatar
base
cache Add an abstract json layout to make it's easier to change json library (#16528) 2021-07-24 18:03:58 +02:00
charset
context Add skip and limit to git.GetTags (#16897) 2021-09-10 19:30:37 +02:00
convert Support unprotected file patterns (#16395) 2021-09-11 16:21:17 +02:00
cron
csv Fixes #16557 - duplicate csv import (#16631) 2021-08-05 17:56:11 +01:00
doctor Add doctor dbconsistency check for release and attachment (#16978) 2021-09-14 20:41:40 +01:00
emoji
eventsource Add an abstract json layout to make it's easier to change json library (#16528) 2021-07-24 18:03:58 +02:00
generate
git Support unprotected file patterns (#16395) 2021-09-11 16:21:17 +02:00
gitgraph
graceful Add bundle download for repository (#14538) 2021-08-24 11:47:09 -05:00
hcaptcha
highlight Just use a slice when rendering file (#16774) 2021-08-23 22:23:39 +01:00
httpcache
httplib Add an abstract json layout to make it's easier to change json library (#16528) 2021-07-24 18:03:58 +02:00
indexer Add an abstract json layout to make it's easier to change json library (#16528) 2021-07-24 18:03:58 +02:00
json Add an abstract json layout to make it's easier to change json library (#16528) 2021-07-24 18:03:58 +02:00
lfs Add bundle download for repository (#14538) 2021-08-24 11:47:09 -05:00
log Add an abstract json layout to make it's easier to change json library (#16528) 2021-07-24 18:03:58 +02:00
markup Do not show issue context popup on external issues (#17050) 2021-09-15 09:45:27 +01:00
matchlist
metrics Separate open and closed issue in metrics (#16637) 2021-08-07 12:43:50 +03:00
migrations Fix bug of migrate comments which only fetch one page (#17055) 2021-09-15 19:30:19 +08:00
nosql
notification Add an abstract json layout to make it's easier to change json library (#16528) 2021-07-24 18:03:58 +02:00
options Add bundle download for repository (#14538) 2021-08-24 11:47:09 -05:00
password
pprof
private Fix dump and restore respository (#16698) 2021-08-30 21:18:15 -04:00
process
proxy Return nil proxy function if proxy not enabled (#16742) 2021-08-19 16:41:20 -04:00
public Add bundle download for repository (#14538) 2021-08-24 11:47:09 -05:00
queue Use immediate queues in integration tests and ensure that immediate (#16927) 2021-09-03 11:20:57 +01:00
recaptcha Add an abstract json layout to make it's easier to change json library (#16528) 2021-07-24 18:03:58 +02:00
references
repofiles Support unprotected file patterns (#16395) 2021-09-11 16:21:17 +02:00
repository Decrement Fork Num when converting from Fork (#17035) 2021-09-14 18:07:08 +01:00
secret
session Add an abstract json layout to make it's easier to change json library (#16528) 2021-07-24 18:03:58 +02:00
setting Enable Malayalam, Greek, Persian, Hungarian & Indonesian by default (#16998) 2021-09-09 14:16:42 +08:00
ssh
storage Fix storage Iterate bug and Add storage doctor to delete garbage attachments (#16971) 2021-09-06 16:46:20 +02:00
structs Support unprotected file patterns (#16395) 2021-09-11 16:21:17 +02:00
svg Add bundle download for repository (#14538) 2021-08-24 11:47:09 -05:00
sync
task Fix bug of migrated repository not index (#16991) 2021-09-08 18:43:19 +01:00
templates Add missing icon set for ActionRenameRepo (#16972) 2021-09-06 16:11:17 +02:00
test
timeutil
translation
typesniffer
upload
uri
user
util Handle too long PR titles correctly (#16517) 2021-07-25 03:59:27 +01:00
validation
web Clean-up HookPreReceive and restore functionality for pushing non-standard refs (#16705) 2021-09-16 15:34:54 +02:00