sketch/dockerimg: reduce error text on some refused pushes
diff --git a/dockerimg/githttp.go b/dockerimg/githttp.go
index acb099b..eaeb23a 100644
--- a/dockerimg/githttp.go
+++ b/dockerimg/githttp.go
@@ -154,7 +154,7 @@
args := []string{"http-backend"}
if g.hooksDir != "" {
// Use -c flag to set core.hooksPath for this git command only
- args = []string{"-c", "core.hooksPath=" + g.hooksDir, "http-backend"}
+ args = []string{"-c", "core.hooksPath=" + g.hooksDir, "-c", "receive.denyCurrentBranch=refuse", "http-backend"}
}
h := &cgi.Handler{