blob: 0312972b8b0fe654c8b15e19bb12040cdfaa3aed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
package handler
import (
"fmt"
pb "gitlab.com/gitlab-org/gitaly-proto/go"
)
func UploadPack(gitalyAddress string, request *pb.SSHUploadPackRequest) error {
repoPath := request.Repository.Path
if repoPath == "" {
return fmt.Errorf("empty path in repository message")
}
return execCommand("git-upload-pack", repoPath)
}
|