{"push_id":1335469447,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"d59ee34afab89d3ff5837bb59e195b14a8140b91","before":"399e88aab8fb96bc22cf9057105cc15d98684465","commits":[{"sha":"d59ee34afab89d3ff5837bb59e195b14a8140b91","author":{"name":"Daniel Martí","email":"2b007f0cf3260591dca08f0ebe9067af8f7f2c1a@mvdan.cc"},"message":"parser: always accept an empty statement list\n\nIn an earlier commit, we enforced at least one statement in conditions\nand clause bodies, saying that we did that in blocks and subshells.\nTurns out we weren't doing it in blocks yet.\n\nInstead of making it consistent to forbid empty lists, do the opposite.\nThe POSIX Shell spec isn't clear about this (that I could tell), made\nevident by how every shell I could find accepts $(). Some shells accept\nempty if conditions, some others don't.\n\nInstead of making this parser support the strictest subset of portable\nshell, do the opposite and support anything that fits into POSIX even if\nmost shells don't accept it. In other words, prefer being lenient and\nconsistent.","distinct":true,"url":"https://api.github.com/repos/mvdan/sh/commits/d59ee34afab89d3ff5837bb59e195b14a8140b91"}]}
{"actor":{"display_login":"mvdan"}}