aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-03-07 15:35:51 +0800
committerRunxi Yu <me@runxiyu.org>2025-03-07 15:35:51 +0800
commitcaa1c40cb516f69f3d2998568a02cb5fac77a77a (patch)
tree6e7997c9b4fb321e5eef39be5082faba956cab70
parenthooks: Send/process environment variables starting with GIT_ (diff)
downloadforge-caa1c40cb516f69f3d2998568a02cb5fac77a77a.tar.gz
forge-caa1c40cb516f69f3d2998568a02cb5fac77a77a.tar.zst
forge-caa1c40cb516f69f3d2998568a02cb5fac77a77a.zip
hooks: Remove debug printf
-rw-r--r--git_hooks_handle.go2
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)