]> source.dussan.org Git - gitea.git/commit
Remove unnecessary loading of settings in update hook (#9496)
authorzeripath <art27@cantab.net>
Fri, 27 Dec 2019 15:21:33 +0000 (15:21 +0000)
committerGitHub <noreply@github.com>
Fri, 27 Dec 2019 15:21:33 +0000 (15:21 +0000)
commit154424623a0486a2dd1ab757aaa44d2237116b85
tree6f3a7d6d74bbd5e2b061cf3da8c875c2992aa062
parent3d5f31f77d3f56a954b267fa05f5757c6e538b4e
Remove unnecessary loading of settings in update hook (#9496)

This PR simply makes update an empty command rather than needlessly load the settings for each reference.
cmd/hook.go