From 7fb71b36ad50153f6e05d066284688d1128a7a21 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Wed, 19 Feb 2025 21:19:15 +0800 Subject: ssh/recv, hooks: Create MRs on push, reject pushes to others' MRs --- ssh_handle_upload_pack.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ssh_handle_upload_pack.go') diff --git a/ssh_handle_upload_pack.go b/ssh_handle_upload_pack.go index 7435668..8efcd28 100644 --- a/ssh_handle_upload_pack.go +++ b/ssh_handle_upload_pack.go @@ -11,7 +11,7 @@ import ( // 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) + _, repo_path, _, _, _, _, err := get_repo_path_perms_from_ssh_path_pubkey(session.Context(), repo_identifier, pubkey) if err != nil { return err } -- cgit v1.2.3