node-gitlog
node-gitlog copied to clipboard
'Warning: Log failed to match exepected pattern' for multi-line commits
I did a rebase -i and squashed a few commits, resulting in a multi-line commit message, which I want to keep. The gitlog task fails with the following message:
Running "gitlog:development" (gitlog) task
Warning: Log failed to match exepected pattern:
{
"hash": "6430184b21e05b4f0a9fdb430078535ffcb216d4",
"author": {
"name": "<my name>",
"email": "<my email>"
},
"date": "Thu, 14 May 2015 10:22:20 +0100",
"subject": "<Message>",
"body": "<multiline message follows>
...on several lines
...like this
"
}
Use --force to continue.
Aborted due to warnings.
Thanks for the report. It must be something to do with the way we're parsing out the commit parts by new line characters. Let me have a think about a solution or feel free to send a pull request