diff --git a/.husky/_/.gitignore b/.husky/_/.gitignore index f59ec20..db420bf 100644 --- a/.husky/_/.gitignore +++ b/.husky/_/.gitignore @@ -1 +1 @@ -* \ No newline at end of file +!* diff --git a/.husky/_/applypatch-msg b/.husky/_/applypatch-msg new file mode 100644 index 0000000..21c69a4 --- /dev/null +++ b/.husky/_/applypatch-msg @@ -0,0 +1,2 @@ +#!/usr/bin/env sh +. "${0%/*}/h" \ No newline at end of file diff --git a/.husky/_/h b/.husky/_/h new file mode 100644 index 0000000..86bd0ba --- /dev/null +++ b/.husky/_/h @@ -0,0 +1,20 @@ +#!/usr/bin/env sh +[ "$HUSKY" = "2" ] && set -x +h="${0##*/}" +s="${0%/*/*}/$h" + +[ ! -f "$s" ] && exit 0 + +for f in "${XDG_CONFIG_HOME:-$HOME/.config}/husky/init.sh" "$HOME/.huskyrc"; do + # shellcheck disable=SC1090 + [ -f "$f" ] && . "$f" +done + +[ "${HUSKY-}" = "0" ] && exit 0 + +sh -e "$s" "$@" +c=$? + +[ $c != 0 ] && echo "husky - $h script failed (code $c)" +[ $c = 127 ] && echo "husky - command not found in PATH=$PATH" +exit $c \ No newline at end of file diff --git a/.husky/_/husky.sh b/.husky/_/husky.sh new file mode 100644 index 0000000..e69de29 diff --git a/.husky/_/post-applypatch b/.husky/_/post-applypatch new file mode 100644 index 0000000..21c69a4 --- /dev/null +++ b/.husky/_/post-applypatch @@ -0,0 +1,2 @@ +#!/usr/bin/env sh +. "${0%/*}/h" \ No newline at end of file diff --git a/.husky/_/post-checkout b/.husky/_/post-checkout new file mode 100644 index 0000000..21c69a4 --- /dev/null +++ b/.husky/_/post-checkout @@ -0,0 +1,2 @@ +#!/usr/bin/env sh +. "${0%/*}/h" \ No newline at end of file diff --git a/.husky/_/post-commit b/.husky/_/post-commit new file mode 100644 index 0000000..21c69a4 --- /dev/null +++ b/.husky/_/post-commit @@ -0,0 +1,2 @@ +#!/usr/bin/env sh +. "${0%/*}/h" \ No newline at end of file diff --git a/.husky/_/post-merge b/.husky/_/post-merge new file mode 100644 index 0000000..21c69a4 --- /dev/null +++ b/.husky/_/post-merge @@ -0,0 +1,2 @@ +#!/usr/bin/env sh +. "${0%/*}/h" \ No newline at end of file diff --git a/.husky/_/post-rewrite b/.husky/_/post-rewrite new file mode 100644 index 0000000..21c69a4 --- /dev/null +++ b/.husky/_/post-rewrite @@ -0,0 +1,2 @@ +#!/usr/bin/env sh +. "${0%/*}/h" \ No newline at end of file diff --git a/.husky/_/pre-applypatch b/.husky/_/pre-applypatch new file mode 100644 index 0000000..21c69a4 --- /dev/null +++ b/.husky/_/pre-applypatch @@ -0,0 +1,2 @@ +#!/usr/bin/env sh +. "${0%/*}/h" \ No newline at end of file diff --git a/.husky/_/pre-auto-gc b/.husky/_/pre-auto-gc new file mode 100644 index 0000000..21c69a4 --- /dev/null +++ b/.husky/_/pre-auto-gc @@ -0,0 +1,2 @@ +#!/usr/bin/env sh +. "${0%/*}/h" \ No newline at end of file diff --git a/.husky/_/pre-push b/.husky/_/pre-push new file mode 100644 index 0000000..21c69a4 --- /dev/null +++ b/.husky/_/pre-push @@ -0,0 +1,2 @@ +#!/usr/bin/env sh +. "${0%/*}/h" \ No newline at end of file diff --git a/.husky/_/pre-rebase b/.husky/_/pre-rebase new file mode 100644 index 0000000..21c69a4 --- /dev/null +++ b/.husky/_/pre-rebase @@ -0,0 +1,2 @@ +#!/usr/bin/env sh +. "${0%/*}/h" \ No newline at end of file diff --git a/.husky/_/prepare-commit-msg b/.husky/_/prepare-commit-msg new file mode 100644 index 0000000..21c69a4 --- /dev/null +++ b/.husky/_/prepare-commit-msg @@ -0,0 +1,2 @@ +#!/usr/bin/env sh +. "${0%/*}/h" \ No newline at end of file