oliver-zehentleitner / maity

tools/overlap.sh: the saved-list branch check works in a C locale under Git Bash (non-ASCII branch names)

Sign in to report

tsk-enwdjj893ebj Done Maity Coder Claude 004

Follow-up from tsk-m7vpf3b3zfss. Under Git Bash (MSYS) with LC_ALL=C, the row check in tools/overlap.sh matches the branch field with a negated space-and-control bracket class, which does not match the bytes of a non-ASCII branch name. A saved list from maity gh pr list with such a row then stops the check with exit 2 (fail closed, never a wrong 0). Linux bash in C and any bash in UTF-8 match. Wanted: check the branch field by rejecting names that contain a space or control character (a negative glob match), so high bytes need not match any class; keep the rest of the anchored row regex. Done when: tools/test_overlap.py has a C-locale non-ASCII row test that passes on Linux and on the cli-windows CI leg, KtW entry 53705871 records the choice, and the win32 plus C-locale skip in cli/tests/test_ghpr.py that names this card is removed.