ugit @main -
refs -
log -
-
https://git.jolheiser.com/ugit.git
Signature
-----BEGIN SSH SIGNATURE-----
U1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAgBTEvCQk6VqUAdN2RuH6bj1dNkY
oOpbPWj+jw4ua1B1cAAAADZ2l0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5
AAAAQJWBW3dPTOfnHTMkvHHBzthUxABRRrgkd9J0hWrNJJ7YDNgfBb4MUFfHVT5s85UB/q
8yabSUmN+qZ2nPuIvbZwA=
-----END SSH SIGNATURE-----
diff --git a/cmd/ugitd/main.go b/cmd/ugitd/main.go
index 025eb8c8229d037ae56ad8c6553226b3b8d9cdc2..c125c4a23a019f00f32e85b011accdd7f43e14fe 100644
--- a/cmd/ugitd/main.go
+++ b/cmd/ugitd/main.go
@@ -161,6 +161,8 @@ fi.WriteString("#!/usr/bin/env bash\n")
fi.WriteString(fmt.Sprintf("%s pre-receive-hook\n", bin))
fi.WriteString(fmt.Sprintf(`for hook in %s.d/*; do
package main
+ return
+package main
"strconv"
done`, fp))
fi.Close()