We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c816f3b commit 96daf2cCopy full SHA for 96daf2c
1 file changed
pkg/git/git.go
@@ -31,7 +31,14 @@ strip_remote_prefix() {
31
stdbuf -i0 -o0 -e0 sed "s/^/"$'\e[1G'"/"
32
}
33
34
-GIT_HOME={{.GitHome}} boot git-receive | strip_remote_prefix
+GIT_HOME={{.GitHome}} \
35
+SSH_CONNECTION="$SSH_CONNECTION" \
36
+SSH_ORIGINAL_COMMAND="$SSH_ORIGINAL_COMMAND" \
37
+REPOSITORY="$RECEIVE_REPO" \
38
+USERNAME="$RECEIVE_USER" \
39
+FINGERPRINT="$RECEIVE_FINGERPRINT" \
40
+POD_NAMESPACE="$POD_NAMESPACE" \
41
+boot git-receive | strip_remote_prefix
42
`
43
44
var preReceiveHookTpl = template.Must(template.New("hooks").Parse(preReceiveHookTplStr))
0 commit comments