Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Support for multiline

comments
  • Loading branch information...
commit 5fb18679069a0c1f65242c55a2b6edfbcda82cb7 1 parent 773bb45
Guðmundur Bjarni Ólafsson gudmundur authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 index.js
4 index.js
@@ -36,8 +36,8 @@ exports = module.exports = function (since, until, opts) {
36 36 else if (m = /^Date:\s+(.+)/.exec(line)) {
37 37 commit.date = new Date(m[1]);
38 38 }
39   - else if (m = /^\s+(.+)/.exec(line)) {
40   - commit.message = m[1];
  39 + else if (m = /^\s+(\S.+)/.exec(line)) {
  40 + commit.message = commit.message ? commit.message + '\n' + m[1] : m[1];
41 41 }
42 42 }
43 43

0 comments on commit 5fb1867

Please sign in to comment.
Something went wrong with that request. Please try again.