☰
Debian Codegraph
@
4.11.0-3
/
/
repository_windows_test.go
☽
☼
repository_windows_test.go
code
plain
raw
symbols
SCIP
Apache-2.0
2015 source{d}
debian/copyright
1
package
git
2
3
import
"fmt"
4
5
// preReceiveHook returns the bytes of a pre-receive hook script
6
// that prints m before exiting successfully
7
func
preReceiveHook(m
string
) []
byte
{
8
return
[]
byte
(fmt.
Sprintf
(
"#!C:/Program
\\
Files/Git/usr/bin/sh.exe
\n
printf '%s'
\n
"
, m))
9
}