From dc54a69b7552d8d44adf25b8009992c4a2b395be Mon Sep 17 00:00:00 2001 From: steering7253 Date: Mon, 18 May 2026 01:25:46 -0600 Subject: init --- find-nonstandard-hooks | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 find-nonstandard-hooks (limited to 'find-nonstandard-hooks') 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 -- cgit v1.3.1-10-gc9f91