aboutsummaryrefslogtreecommitdiff
path: root/ssh_handle_upload_pack.go
diff options
context:
space:
mode:
Diffstat (limited to 'ssh_handle_upload_pack.go')
-rw-r--r--ssh_handle_upload_pack.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/ssh_handle_upload_pack.go b/ssh_handle_upload_pack.go
index ac52e5c..afc9900 100644
--- a/ssh_handle_upload_pack.go
+++ b/ssh_handle_upload_pack.go
@@ -8,6 +8,8 @@ import (
glider_ssh "github.com/gliderlabs/ssh"
)
+// ssh_handle_upload_pack handles clones/fetches. It just uses git-upload-pack
+// and has no ACL checks.
func ssh_handle_upload_pack(session glider_ssh.Session, pubkey string, repo_identifier string) (err error) {
repo_path, _, err := get_repo_path_perms_from_ssh_path_pubkey(session.Context(), repo_identifier, pubkey)
if err != nil {