nlf/precommit-hook — pull request #30 by Trott (2014-07-26 05:19:43+00:00)
Title: fix for #29

This fixes the issue in #29, at least for the narrow use case outlined there.

A couple of things:

* No idea if this breaks Windows.
* Happy to add a test if there's a test suite I'm just not seeing.