We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bbc7f96 commit 13abd91Copy full SHA for 13abd91
1 file changed
pkg/gitreceive/run.go
@@ -74,8 +74,10 @@ func Run(conf *Config) error {
74
if err := receive(conf, builderKey, newRev); err != nil {
75
return err
76
}
77
- if err := build(conf, builderKey, newRev); err != nil {
78
- return err
+ if strings.HasPrefix(conf.SSHOriginalCommand, "git-receive-pack") {
+ if err := build(conf, builderKey, newRev); err != nil {
79
+ return err
80
+ }
81
82
83
if err := scanner.Err(); err != nil {
0 commit comments