2022-10-28 12:06:03 +00:00
|
|
|
[general]
|
|
|
|
directory = "hooked"
|
2024-01-17 17:43:17 +00:00
|
|
|
noise_level = "minimal"
|
2022-11-04 18:00:09 +00:00
|
|
|
template = "test.sh"
|
2022-10-28 12:06:03 +00:00
|
|
|
|
|
|
|
[[pre_commit]]
|
|
|
|
name = "Pre Commit 1"
|
2024-01-17 17:43:17 +00:00
|
|
|
noise_level = "quiet"
|
2022-10-28 12:06:03 +00:00
|
|
|
command = "exit 0"
|
2022-11-27 16:29:44 +00:00
|
|
|
staged = ["*.txt"]
|
2022-10-28 12:06:03 +00:00
|
|
|
on_failure = "continue"
|
|
|
|
|
|
|
|
[[pre_commit]]
|
|
|
|
name = "Pre Commit 2"
|
2024-01-17 17:43:17 +00:00
|
|
|
noise_level = "loud"
|
2022-10-28 12:06:03 +00:00
|
|
|
script = "test.sh"
|
|
|
|
on_failure = "stop"
|