diff options
author | Runxi Yu <me@runxiyu.org> | 2025-03-07 15:35:51 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-03-07 15:35:51 +0800 |
commit | caa1c40cb516f69f3d2998568a02cb5fac77a77a (patch) | |
tree | 6e7997c9b4fb321e5eef39be5082faba956cab70 | |
parent | hooks: Send/process environment variables starting with GIT_ (diff) | |
download | forge-caa1c40cb516f69f3d2998568a02cb5fac77a77a.tar.gz forge-caa1c40cb516f69f3d2998568a02cb5fac77a77a.tar.zst forge-caa1c40cb516f69f3d2998568a02cb5fac77a77a.zip |
hooks: Remove debug printf
-rw-r--r-- | git_hooks_handle.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/git_hooks_handle.go b/git_hooks_handle.go index 69fe0aa..2adaf9a 100644 --- a/git_hooks_handle.go +++ b/git_hooks_handle.go @@ -135,8 +135,6 @@ func hooks_handle_connection(conn net.Conn) { git_env[parts[0]] = parts[1] } - fmt.Printf("%#v\n", git_env) - var stdin bytes.Buffer if _, err = io.Copy(&stdin, conn); err != nil { wf_error(conn, "Failed to read to the stdin buffer: %v", err) |