You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Michael Park (JIRA)" <ji...@apache.org> on 2016/04/10 08:38:25 UTC

[jira] [Created] (MESOS-5162) Commit message hook behaves incorrectly when a message includes a "*".

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)