pass hook configuration through CLI arguments
This commit is contained in:
+3
-1
@@ -27,7 +27,9 @@ type Config struct {
|
||||
// The hook name is its first argument; Git's original args, stdin and
|
||||
// environment are preserved. Empty disables hook effects.
|
||||
HookScript string
|
||||
DBUri string
|
||||
// HookArgs are fixed CLI arguments placed before the hook type and repo.
|
||||
HookArgs []string
|
||||
DBUri string
|
||||
|
||||
preparedDbUri string
|
||||
prepared atomic.Bool
|
||||
|
||||
Reference in New Issue
Block a user