fix(pre): use raw body instead of subject

This commit is contained in:
Christoph Witzko 2015-05-12 08:53:25 +02:00
parent be9bb40dd2
commit a5dabed534

View File

@ -7,7 +7,7 @@ var efh = require('./error').efh
module.exports = function (from, cb) {
var range = (from ? from + '..' : '') + 'HEAD'
exec(
'git log -E --format=%H==SPLIT==%s==END== ' + range,
'git log -E --format=%H==SPLIT==%B==END== ' + range,
efh(cb)(function (stdout) {
cb(null, String(stdout).split('==END==\n')