From 837dbf45653f5025f9438f8c9bc25cd550e79f12 Mon Sep 17 00:00:00 2001 From: Wei Jie Date: Wed, 14 Jan 2026 17:00:00 +0800 Subject: [PATCH] chore: stop tracking .husky/_ directory --- .husky/_/applypatch-msg | 2 -- .husky/_/commit-msg | 2 -- .husky/_/h | 22 ---------------------- .husky/_/husky.sh | 9 --------- .husky/_/post-applypatch | 2 -- .husky/_/post-checkout | 2 -- .husky/_/post-commit | 2 -- .husky/_/post-merge | 2 -- .husky/_/post-rewrite | 2 -- .husky/_/pre-applypatch | 2 -- .husky/_/pre-auto-gc | 2 -- .husky/_/pre-commit | 2 -- .husky/_/pre-merge-commit | 2 -- .husky/_/pre-push | 2 -- .husky/_/pre-rebase | 2 -- .husky/_/prepare-commit-msg | 2 -- 16 files changed, 59 deletions(-) delete mode 100644 .husky/_/applypatch-msg delete mode 100644 .husky/_/commit-msg delete mode 100644 .husky/_/h delete mode 100644 .husky/_/husky.sh delete mode 100644 .husky/_/post-applypatch delete mode 100644 .husky/_/post-checkout delete mode 100644 .husky/_/post-commit delete mode 100644 .husky/_/post-merge delete mode 100644 .husky/_/post-rewrite delete mode 100644 .husky/_/pre-applypatch delete mode 100644 .husky/_/pre-auto-gc delete mode 100644 .husky/_/pre-commit delete mode 100644 .husky/_/pre-merge-commit delete mode 100644 .husky/_/pre-push delete mode 100644 .husky/_/pre-rebase delete mode 100644 .husky/_/prepare-commit-msg diff --git a/.husky/_/applypatch-msg b/.husky/_/applypatch-msg deleted file mode 100644 index 16aae78..0000000 --- a/.husky/_/applypatch-msg +++ /dev/null @@ -1,2 +0,0 @@ -#!/usr/bin/env sh -. "$(dirname "$0")/h" \ No newline at end of file diff --git a/.husky/_/commit-msg b/.husky/_/commit-msg deleted file mode 100644 index 16aae78..0000000 --- a/.husky/_/commit-msg +++ /dev/null @@ -1,2 +0,0 @@ -#!/usr/bin/env sh -. "$(dirname "$0")/h" \ No newline at end of file diff --git a/.husky/_/h b/.husky/_/h deleted file mode 100644 index bf7c896..0000000 --- a/.husky/_/h +++ /dev/null @@ -1,22 +0,0 @@ -#!/usr/bin/env sh -[ "$HUSKY" = "2" ] && set -x -n=$(basename "$0") -s=$(dirname "$(dirname "$0")")/$n - -[ ! -f "$s" ] && exit 0 - -if [ -f "$HOME/.huskyrc" ]; then - echo "husky - '~/.huskyrc' is DEPRECATED, please move your code to ~/.config/husky/init.sh" -fi -i="${XDG_CONFIG_HOME:-$HOME/.config}/husky/init.sh" -[ -f "$i" ] && . "$i" - -[ "${HUSKY-}" = "0" ] && exit 0 - -export PATH="node_modules/.bin:$PATH" -sh -e "$s" "$@" -c=$? - -[ $c != 0 ] && echo "husky - $n script failed (code $c)" -[ $c = 127 ] && echo "husky - command not found in PATH=$PATH" -exit $c diff --git a/.husky/_/husky.sh b/.husky/_/husky.sh deleted file mode 100644 index f9d0637..0000000 --- a/.husky/_/husky.sh +++ /dev/null @@ -1,9 +0,0 @@ -echo "husky - DEPRECATED - -Please remove the following two lines from $0: - -#!/usr/bin/env sh -. \"\$(dirname -- \"\$0\")/_/husky.sh\" - -They WILL FAIL in v10.0.0 -" \ No newline at end of file diff --git a/.husky/_/post-applypatch b/.husky/_/post-applypatch deleted file mode 100644 index 16aae78..0000000 --- a/.husky/_/post-applypatch +++ /dev/null @@ -1,2 +0,0 @@ -#!/usr/bin/env sh -. "$(dirname "$0")/h" \ No newline at end of file diff --git a/.husky/_/post-checkout b/.husky/_/post-checkout deleted file mode 100644 index 16aae78..0000000 --- a/.husky/_/post-checkout +++ /dev/null @@ -1,2 +0,0 @@ -#!/usr/bin/env sh -. "$(dirname "$0")/h" \ No newline at end of file diff --git a/.husky/_/post-commit b/.husky/_/post-commit deleted file mode 100644 index 16aae78..0000000 --- a/.husky/_/post-commit +++ /dev/null @@ -1,2 +0,0 @@ -#!/usr/bin/env sh -. "$(dirname "$0")/h" \ No newline at end of file diff --git a/.husky/_/post-merge b/.husky/_/post-merge deleted file mode 100644 index 16aae78..0000000 --- a/.husky/_/post-merge +++ /dev/null @@ -1,2 +0,0 @@ -#!/usr/bin/env sh -. "$(dirname "$0")/h" \ No newline at end of file diff --git a/.husky/_/post-rewrite b/.husky/_/post-rewrite deleted file mode 100644 index 16aae78..0000000 --- a/.husky/_/post-rewrite +++ /dev/null @@ -1,2 +0,0 @@ -#!/usr/bin/env sh -. "$(dirname "$0")/h" \ No newline at end of file diff --git a/.husky/_/pre-applypatch b/.husky/_/pre-applypatch deleted file mode 100644 index 16aae78..0000000 --- a/.husky/_/pre-applypatch +++ /dev/null @@ -1,2 +0,0 @@ -#!/usr/bin/env sh -. "$(dirname "$0")/h" \ No newline at end of file diff --git a/.husky/_/pre-auto-gc b/.husky/_/pre-auto-gc deleted file mode 100644 index 16aae78..0000000 --- a/.husky/_/pre-auto-gc +++ /dev/null @@ -1,2 +0,0 @@ -#!/usr/bin/env sh -. "$(dirname "$0")/h" \ No newline at end of file diff --git a/.husky/_/pre-commit b/.husky/_/pre-commit deleted file mode 100644 index 16aae78..0000000 --- a/.husky/_/pre-commit +++ /dev/null @@ -1,2 +0,0 @@ -#!/usr/bin/env sh -. "$(dirname "$0")/h" \ No newline at end of file diff --git a/.husky/_/pre-merge-commit b/.husky/_/pre-merge-commit deleted file mode 100644 index 16aae78..0000000 --- a/.husky/_/pre-merge-commit +++ /dev/null @@ -1,2 +0,0 @@ -#!/usr/bin/env sh -. "$(dirname "$0")/h" \ No newline at end of file diff --git a/.husky/_/pre-push b/.husky/_/pre-push deleted file mode 100644 index 16aae78..0000000 --- a/.husky/_/pre-push +++ /dev/null @@ -1,2 +0,0 @@ -#!/usr/bin/env sh -. "$(dirname "$0")/h" \ No newline at end of file diff --git a/.husky/_/pre-rebase b/.husky/_/pre-rebase deleted file mode 100644 index 16aae78..0000000 --- a/.husky/_/pre-rebase +++ /dev/null @@ -1,2 +0,0 @@ -#!/usr/bin/env sh -. "$(dirname "$0")/h" \ No newline at end of file diff --git a/.husky/_/prepare-commit-msg b/.husky/_/prepare-commit-msg deleted file mode 100644 index 16aae78..0000000 --- a/.husky/_/prepare-commit-msg +++ /dev/null @@ -1,2 +0,0 @@ -#!/usr/bin/env sh -. "$(dirname "$0")/h" \ No newline at end of file