test: 测试提交

This commit is contained in:
WANGFAN\wangf 2024-12-06 14:07:09 +08:00
parent 2346f41369
commit 6de3539dae
14 changed files with 43 additions and 1 deletions

2
.husky/_/.gitignore vendored
View File

@ -1 +1 @@
* !*

2
.husky/_/applypatch-msg Normal file
View File

@ -0,0 +1,2 @@
#!/usr/bin/env sh
. "${0%/*}/h"

20
.husky/_/h Normal file
View File

@ -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

0
.husky/_/husky.sh Normal file
View File

2
.husky/_/post-applypatch Normal file
View File

@ -0,0 +1,2 @@
#!/usr/bin/env sh
. "${0%/*}/h"

2
.husky/_/post-checkout Normal file
View File

@ -0,0 +1,2 @@
#!/usr/bin/env sh
. "${0%/*}/h"

2
.husky/_/post-commit Normal file
View File

@ -0,0 +1,2 @@
#!/usr/bin/env sh
. "${0%/*}/h"

2
.husky/_/post-merge Normal file
View File

@ -0,0 +1,2 @@
#!/usr/bin/env sh
. "${0%/*}/h"

2
.husky/_/post-rewrite Normal file
View File

@ -0,0 +1,2 @@
#!/usr/bin/env sh
. "${0%/*}/h"

2
.husky/_/pre-applypatch Normal file
View File

@ -0,0 +1,2 @@
#!/usr/bin/env sh
. "${0%/*}/h"

2
.husky/_/pre-auto-gc Normal file
View File

@ -0,0 +1,2 @@
#!/usr/bin/env sh
. "${0%/*}/h"

2
.husky/_/pre-push Normal file
View File

@ -0,0 +1,2 @@
#!/usr/bin/env sh
. "${0%/*}/h"

2
.husky/_/pre-rebase Normal file
View File

@ -0,0 +1,2 @@
#!/usr/bin/env sh
. "${0%/*}/h"

View File

@ -0,0 +1,2 @@
#!/usr/bin/env sh
. "${0%/*}/h"