mirror of
https://github.com/thomiceli/opengist.git
synced 2025-07-09 01:18:04 +02:00
Set gist visibility via Git push options (#215)
This commit is contained in:
@ -24,7 +24,6 @@ var (
|
||||
)
|
||||
|
||||
const truncateLimit = 2 << 18
|
||||
const BaseHash = "0000000000000000000000000000000000000000"
|
||||
|
||||
type RevisionNotFoundError struct{}
|
||||
|
||||
@ -565,5 +564,5 @@ func removeFilesExceptGit(dir string) error {
|
||||
}
|
||||
|
||||
const hookTemplate = `#!/bin/sh
|
||||
"$OG_OPENGIST_HOME_INTERNAL/opengist-bin" hook %s
|
||||
"$OG_OPENGIST_HOME_INTERNAL/symlinks/opengist" --config=$OG_OPENGIST_HOME_INTERNAL/symlinks/config.yml hook %s
|
||||
`
|
||||
|
Reference in New Issue
Block a user