aboutsummaryrefslogtreecommitdiff
path: root/ssh_handle_upload_pack.go
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-02-16 01:04:38 +0800
committerRunxi Yu <me@runxiyu.org>2025-02-16 01:04:38 +0800
commitd777be4a9a84b5493f11883946f97e7b851d0832 (patch)
tree98460e161d10ab724466f15ffc97fe349d25773d /ssh_handle_upload_pack.go
parentssh_*: Use pure go-git SSH handling (receive and upload) (diff)
downloadforge-d777be4a9a84b5493f11883946f97e7b851d0832.tar.gz
forge-d777be4a9a84b5493f11883946f97e7b851d0832.tar.zst
forge-d777be4a9a84b5493f11883946f97e7b851d0832.zip
ssh_*: Pass pubkey to SSH handlers
Diffstat (limited to 'ssh_handle_upload_pack.go')
-rw-r--r--ssh_handle_upload_pack.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssh_handle_upload_pack.go b/ssh_handle_upload_pack.go
index 8f7d9c9..7812f1a 100644
--- a/ssh_handle_upload_pack.go
+++ b/ssh_handle_upload_pack.go
@@ -8,7 +8,7 @@ import (
"github.com/go-git/go-git/v5/plumbing/transport/server"
)
-func ssh_handle_upload_pack(session glider_ssh.Session, repo_identifier string) (err error) {
+func ssh_handle_upload_pack(session glider_ssh.Session, pubkey string, repo_identifier string) (err error) {
repo_path, err := get_repo_path_from_ssh_path(session.Context(), repo_identifier)
if err != nil {
return err