diff options
| author | 2026-05-18 01:25:46 -0600 | |
|---|---|---|
| committer | 2026-05-18 01:25:46 -0600 | |
| commit | dc54a69b7552d8d44adf25b8009992c4a2b395be (patch) | |
| tree | 0c1864e9239bf02fc83408be378d983070250ead /find-nonstandard-hooks | |
init
Diffstat (limited to 'find-nonstandard-hooks')
| -rwxr-xr-x | find-nonstandard-hooks | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/find-nonstandard-hooks b/find-nonstandard-hooks new file mode 100755 index 0000000..074f8b6 --- /dev/null +++ b/find-nonstandard-hooks @@ -0,0 +1,5 @@ +#!/bin/bash +# Find all your repos that have nonstandard hooks +# Probably mostly of use to staff + +find "$HOME" -type d -name '*.git' -execdir git -C {} config --local --get core.hookspath "!$HOME/hooks/.*" \; -print |
