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)