fix: improve h5 payment return flow
This commit is contained in:
15
scripts/git-hooks/post-commit
Executable file
15
scripts/git-hooks/post-commit
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/bin/sh
|
||||
|
||||
repo_root=$(git rev-parse --show-toplevel 2>/dev/null) || exit 0
|
||||
git_dir=$(git rev-parse --git-dir 2>/dev/null) || exit 0
|
||||
case "$git_dir" in
|
||||
/*) ;;
|
||||
*) git_dir="$repo_root/$git_dir" ;;
|
||||
esac
|
||||
|
||||
(
|
||||
cd "$repo_root" || exit 0
|
||||
./scripts/gitnexus-refresh.sh
|
||||
) >>"$git_dir/gitnexus-refresh.log" 2>&1 &
|
||||
|
||||
exit 0
|
||||
Reference in New Issue
Block a user