fork of go-git with some jj specific features
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v5.5.1 11 lines 264 B view raw
1// +build !plan9,!windows 2 3package git 4 5import "fmt" 6 7// preReceiveHook returns the bytes of a pre-receive hook script 8// that prints m before exiting successfully 9func preReceiveHook(m string) []byte { 10 return []byte(fmt.Sprintf("#!/bin/sh\nprintf '%s'\n", m)) 11}