pre-commit hook not POSIX compliant
The pre-commit hook contains #!/bin/sh
, but it uses some bash-specific features. It's completely broken on Ubuntu which uses dash as /bin/sh. Changing the script to #!/bin/bash
fixes it, but it should probably be fixed so it doesn't depend on bash. I see a bunch of &>
being used instead of 2>&1
, but didn't take the time to debug it further.