Michael Park created MESOS-5162:
-----------------------------------
Summary: Commit message hook behaves incorrectly when a message
includes a "*".
Key: MESOS-5162
URL: https://issues.apache.org/jira/browse/MESOS-5162
Project: Mesos
Issue Type: Bug
Reporter: Michael Park
Assignee: Michael Park
If there is a "*" in a commit message (there often is when we have bulleted
lists), due to the current use of {{echo $LINE}}, the {{$LINE}} gets expanded
with a "*" in it, which becomes a matcher in bash and therefore subsequently
gets expanded into the list of files/directories in the current directory.
In order to avoid this mess, we need to wrap such variables in quotes, like so:
{{echo "$LINE"}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)