jish / pre-commit

A slightly improved pre-commit hook for git
https://jish.github.io/pre-commit/
Other
796 stars 96 forks source link

Escape filenames before passing them to grep #170

Closed mattbrictson closed 10 years ago

mattbrictson commented 10 years ago

This fixes a bug where the Grep check would not properly run against filenames containing spaces.

mpapis commented 10 years ago

great, @jish we had mention of spaces in other ticket, not sure if it's closed or not, but I like the change

jish commented 10 years ago

Awesome, thank you for your contribution!