pgr0ss / rake_commit

A program that helps with checking in code. It automates common git or svn commands.
13 stars 13 forks source link

globals getting interpreted into commit message #13

Closed braintreeps closed 10 years ago

braintreeps commented 10 years ago

When at the prompt, if you enter a message like "this commit is worth $1", the value of $1 will be interpolated into your commit message. It could end up as "this commit is worth sh".

We should probably do this: http://www.ruby-doc.org/stdlib-1.9.3/libdoc/shellwords/rdoc/Shellwords.html#method-c-shellescape