From 7e62b3a611266a8a72eae6ef08a4d2f298cbb168 Mon Sep 17 00:00:00 2001 From: Ahmad Al Tamimi Date: Fri, 21 Aug 2026 17:21:15 +0400 Subject: [PATCH] fix: remove self-recursive husky hook stubs .husky/post-checkout, post-commit and post-merge (added in aac9753) each contain only the path to their own shim. The shim runs the user hook with `sh -e`, so that line re-invokes the shim and every checkout, commit or merge recurses until killed. The stubs carry no commands, and husky's shims exit cleanly when a user hook file is absent, so delete them. Signed-off-by: Ahmad Al Tamimi --- .husky/post-checkout | 1 - .husky/post-commit | 1 - .husky/post-merge | 1 - 3 files changed, 3 deletions(-) delete mode 100755 .husky/post-checkout delete mode 100755 .husky/post-commit delete mode 100755 .husky/post-merge diff --git a/.husky/post-checkout b/.husky/post-checkout deleted file mode 100755 index 7669ee4..0000000 --- a/.husky/post-checkout +++ /dev/null @@ -1 +0,0 @@ -.husky/_/post-checkout diff --git a/.husky/post-commit b/.husky/post-commit deleted file mode 100755 index 2db9861..0000000 --- a/.husky/post-commit +++ /dev/null @@ -1 +0,0 @@ -.husky/_/post-commit diff --git a/.husky/post-merge b/.husky/post-merge deleted file mode 100755 index 392a143..0000000 --- a/.husky/post-merge +++ /dev/null @@ -1 +0,0 @@ -.husky/_/post-merge