]> source.dussan.org Git - gitea.git/commit
Make `gitea serv` respect git binary home (#23138) (#23196)
authorGiteabot <teabot@gitea.io>
Tue, 28 Feb 2023 22:46:27 +0000 (17:46 -0500)
committerGitHub <noreply@github.com>
Tue, 28 Feb 2023 22:46:27 +0000 (16:46 -0600)
commit543322f81fea6c8e52725bebf48f848b842ef676
tree0f4f50309b51b404bf195b3e8f297e3fe739a9c9
parent35a3b452d9c97ca9147a71be658374df047a8ca6
Make `gitea serv` respect git binary home (#23138) (#23196)

Backport #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

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
cmd/serv.go