]> source.dussan.org Git - gitea.git/commit
Make `gitea serv` respect git binary home (#23138)
authorwxiaoguang <wxiaoguang@gmail.com>
Tue, 28 Feb 2023 20:33:10 +0000 (04:33 +0800)
committerGitHub <noreply@github.com>
Tue, 28 Feb 2023 20:33:10 +0000 (14:33 -0600)
commitf5987c24e2b561952ebf9a2485b863325c16ee48
tree4e57084753f7bab6413f33e6074710f7b99e5928
parent443dcc2db0676cae8b1b72c1b0b99e675c21177c
Make `gitea serv` respect git binary home (#23138)

Close #23137

The old code is too old (8-9 years ago)

Let's try to execute the git commands from git bin home directly.

The verb has been checked above, it could only be:
* git-upload-pack
* git-upload-archive
* git-receive-pack
* git-lfs-authenticate
cmd/serv.go