Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-5125

Commit message hook iterates over words, rather than lines.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.0.0
    • None
    • None
    • Mesosphere Sprint 32
    • 2

    Description

      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:

      while read LINE;
      do
        ...
      done <<< "$COMMIT_MESSAGE"
      

      Attachments

        Activity

          People

            mcypark Michael Park
            mcypark Michael Park
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: