Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'Warning: Log failed to match exepected pattern' for multi-line commits #11

Open
edoloughlin opened this issue May 14, 2015 · 1 comment

Comments

@edoloughlin
Copy link

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.
@domharrington
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants