Root cause: getBDCommand() returned .\bd.exe on Windows, but git hooks run with sh on Git for Windows where backslashes are escape characters. This caused .\bd.exe to become .bd.exe, breaking hook execution. Fix: Always use forward-slash paths (./bd.exe) in shell scripts. Forward slashes work on Windows and are sh-compatible.
10 KiB
10 KiB