aboutsummaryrefslogtreecommitdiff
path: root/lib/fetchGitData.js
diff options
context:
space:
mode:
authorHauke Henningsen <[email protected]>2015-07-15 22:19:50 +0200
committerHauke Henningsen <[email protected]>2015-07-15 22:19:50 +0200
commitc5ff1af8ce1ac7655ce16804668395697b192048 (patch)
treed94c2c517476b39d165829cb832ee844b37983b5 /lib/fetchGitData.js
parentebb47a974bc0665419cdf9d5c0ed4c4ed95636c8 (diff)
parent64653c6df1d63065b0fb0b4984ac4c88f809b068 (diff)
downloadnode-coveralls-c5ff1af8ce1ac7655ce16804668395697b192048.tar.xz
node-coveralls-c5ff1af8ce1ac7655ce16804668395697b192048.zip
Merge remote-tracking branch 'upstream/master' into fix-bug-86
Conflicts: lib/fetchGitData.js
Diffstat (limited to 'lib/fetchGitData.js')
-rw-r--r--lib/fetchGitData.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/fetchGitData.js b/lib/fetchGitData.js
index a6abba4..f04720e 100644
--- a/lib/fetchGitData.js
+++ b/lib/fetchGitData.js
@@ -59,7 +59,7 @@ function fetchBranch(git, cb) {
});
}
-var REGEX_COMMIT_DETAILS = /\nauthor (.+?) <([^>]*)>.+\ncommitter (.+?) <([^>]*)>.+\n?[\S\s]+?\n\n(.*)/m;
+var REGEX_COMMIT_DETAILS = /\nauthor (.+?) <([^>]*)>.+\ncommitter (.+?) <([^>]*)>.+[\S\s]*?\n\n(.*)/m;
function fetchHeadDetails(git, cb) {
exec('git cat-file -p ' + git.head.id, function(err, response) {