mirror of https://github.com/gogs/gogs.git
We used to handle SSH and HTTP push separately which produces duplicated code, but now with post-receive hook, the process is unified to one single place and much cleaner. Thus, UpdateTask struct is removed. Narrow down the range of Git HTTP routes to reduce condufsing HTTP Basic Authentication window popup on browser. By detecting <old-commit, new-commit, ref-name> inside post-receive hook, Git HTTP doesn't need to read the whole content body anymore, which completely solve the RAM problem reported in #636. |
||
---|---|---|
.. | ||
admin.go | ||
cert.go | ||
cert_stub.go | ||
cmd.go | ||
dump.go | ||
hook.go | ||
import.go | ||
serv.go | ||
web.go |