summaryrefslogtreecommitdiff
path: root/find-nonstandard-hooks
blob: 074f8b661d542f4618698d0b57adab25f56205b9 (about) (plain) (blame)
1
2
3
4
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