rhumaric/grunt-githooks — pull request #15 by gyoshev (2013-12-12 09:12:39+00:00)
Title: Hook args are HTML-escaped

Consider the following hook definition:

'pre-commit': {
taskNames: 'jshint',
args: '--files="$(git diff --cached --name-only -diff-filter=ACM)"'
}

It yields the following command from the default template:

'grunt jshint --files="$(git diff --cached --name-only -diff-filter=ACM)"'

... which obviously does not execute correctly, as the shell knows no HTML encoding.