Closed braintreeps closed 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
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