edsrzf/gofmt-git-hook — pull request #1 by huin (2013-01-06 10:03:29+00:00)
Title: Correct interpreter, fix gofmt execution.

Fixes:
* Script used bash syntax, e.g: $(...), not plain bourne shell (sh).
Changing the interpreter in line with this.
* The line output=gofmt -w "$file" interpretted "output=gofmt" as
setting an environment variable, and -w as a command. This change
corrects to what was intended.