vole
Clone
Read only, no credentials:
https://rodent.software/vole.git
Write over SSH with a registered key:
git clone ssh://git@rodent.software:2222/vole.git
A free and open-source forge that lives in your Git repo.
Align the CLI with Git's command conventions
ade6107e546a7f1859ca4fe23a327d44871dce6d · Keenan Nemetz · 16d ago · parent 04e00cfc
cmd/vole/hook.go +1−2
| @@ -1,7 +1,6 @@ | |||
| 1 | 1 | package main | |
| 2 | 2 | ||
| 3 | 3 | import ( | |
| 4 | "errors" | ||
| 5 | 4 | "os" | |
| 6 | 5 | "strconv" | |
| 7 | 6 | ||
| @@ -15,7 +14,7 @@ import ( | |||
| 15 | 14 | // cannot verify is a rejection. | |
| 16 | 15 | func cmdHook(args []string) error { | |
| 17 | 16 | if len(args) == 0 { | |
| 18 | return errors.New("usage: vole hook pre-receive|post-receive") | ||
| 17 | return usageErr{msg: "usage: vole hook pre-receive|post-receive"} | ||
| 19 | 18 | } | |
| 20 | 19 | dir := os.Getenv("GIT_DIR") | |
| 21 | 20 | if dir == "" { | |