forked from tangled.org/core
Monorepo for Tangled

repoguard: test printing messages

Changed files
+6
cmd
repoguard
+6
cmd/repoguard/main.go
··· 112 112 "client": clientIP, 113 113 }) 114 114 115 + if gitCommand == "git-upload-pack" { 116 + fmt.Fprintf(os.Stderr, "\x02%s\n", "Welcome to this knot!") 117 + } else { 118 + fmt.Fprintf(os.Stderr, "%s\n", "Welcome to this knot!") 119 + } 120 + 115 121 cmd := exec.Command(gitCommand, fullPath) 116 122 cmd.Stdout = os.Stdout 117 123 cmd.Stderr = os.Stderr