sindresorhus/pure — pull request #96 by danielhan (2014-12-16 06:20:22+00:00)
Title: work tree check bug fix

the error code was being checked for the rev-parse command. a clean exit with an stdout of "false" was considered being inside the work tree, which causes problems when inside a .git folder