fix: activate native protocol hooks in nested worktrees
This commit is contained in:
parent
67e6fcdd38
commit
97858eb8b5
7 changed files with 48 additions and 4 deletions
|
|
@ -1,5 +1,8 @@
|
|||
#!/usr/bin/env sh
|
||||
set -eu
|
||||
|
||||
hook_dir=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
|
||||
cd "$hook_dir/.."
|
||||
|
||||
bash scripts/test-guanghu-native-authority.sh
|
||||
node scripts/validate-guanghu-native-profile.mjs
|
||||
|
|
|
|||
|
|
@ -1,6 +1,9 @@
|
|||
#!/usr/bin/env sh
|
||||
set -eu
|
||||
|
||||
hook_dir=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
|
||||
cd "$hook_dir/.."
|
||||
|
||||
if [ -t 0 ]; then
|
||||
push_input=""
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in a new issue