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/05 21:44:25 UTC

[jira] [Created] (MESOS-5125) Commit message hook iterates over words, rather than lines.

Michael Park created MESOS-5125:
-----------------------------------

             Summary: Commit message hook iterates over words, rather than lines.
                 Key: MESOS-5125
                 URL: https://issues.apache.org/jira/browse/MESOS-5125
             Project: Mesos
          Issue Type: Bug
            Reporter: Michael Park
            Assignee: Michael Park
             Fix For: 0.29.0


{{for LINE in $COMMIT_MESSAGE}} iterates over one word at a time, rather than one line at a time. We should use the following pattern instead:
{code}
while read LINE;
do
  ...
done <<< "$COMMIT_MESSAGE"
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)