Replace mapfile (bash 4.0+) with bash 3.2-compatible while-read loop. macOS ships bash 3.2.57 (last GPLv2 version); mapfile silently failed, leaving STAGED array empty, so no security checks ran (conflict markers, secrets, private keys all missed). Guard self-test now passes 12/12. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
3.0 KiB
3.0 KiB