Include full contents of all nested repositories
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
13
openclaw/scripts/pr-review
Normal file
13
openclaw/scripts/pr-review
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
script_dir="$(cd "$(dirname "$0")" && pwd)"
|
||||
base="$script_dir/pr"
|
||||
if common_git_dir=$(git -C "$script_dir" rev-parse --path-format=absolute --git-common-dir 2>/dev/null); then
|
||||
canonical_base="$(dirname "$common_git_dir")/scripts/pr"
|
||||
if [ -x "$canonical_base" ]; then
|
||||
base="$canonical_base"
|
||||
fi
|
||||
fi
|
||||
|
||||
exec "$base" review-init "$@"
|
||||
Reference in New Issue
Block a user