docker/docker-registry — pull request #856 by BrianBland (2014-12-15 23:47:55+00:00)
Title: Adds pre-commit hook, hook config script, and relevant README

The pre-commit hook will automatically gofmt code in place, warning you about any changes. It will also fail to commit if either golint or go vet fails.

As git hooks cannot be added to a repository in a way that automatically applies them, `configure-hooks.sh` can be ran to link this pre-commit hook.

@dmp42 @stevvooe