rust-lang/cargo — pull request #325 by dotdash (2014-08-05 10:27:35+00:00)
Title: Fix running tests using git on systems with customized git templates

I customized my git repo template to default to the standard pre-commit
hook that checks for e.g. trailing whitespace and refuses to commit if
any trailing whitespace was found. This causes some of cargo's tests to
fail.

To be independent of the user's git template, create the repo for the
test without using them, by specifying an empty template.