diff options
author | Runxi Yu <me@runxiyu.org> | 2025-02-19 18:59:59 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-02-19 18:59:59 +0800 |
commit | f98b49a8be940b52941b4c33a6b290258cf20a4a (patch) | |
tree | 0804a206db117fb38b493ae2bb305144f00a0d2f | |
parent | hooks: Use ssh stderr directly instead of going through hook (diff) | |
download | forge-f98b49a8be940b52941b4c33a6b290258cf20a4a.tar.gz forge-f98b49a8be940b52941b4c33a6b290258cf20a4a.tar.zst forge-f98b49a8be940b52941b4c33a6b290258cf20a4a.zip |
ssh/recv: Remove unused err_unauthorized_push
Diffstat (limited to '')
-rw-r--r-- | ssh_handle_receive_pack.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/ssh_handle_receive_pack.go b/ssh_handle_receive_pack.go index b76887f..93bf25b 100644 --- a/ssh_handle_receive_pack.go +++ b/ssh_handle_receive_pack.go @@ -1,7 +1,6 @@ package main import ( - "errors" "fmt" "os" "os/exec" @@ -10,8 +9,6 @@ import ( "go.lindenii.runxiyu.org/lindenii-common/cmap" ) -var err_unauthorized_push = errors.New("you are not authorized to push to this repository") - type pack_to_hook_t struct { session glider_ssh.Session pubkey string |