Skip to content

Edit multiple line commit message functionality #77

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

Merged
merged 1 commit into from
May 7, 2015

Conversation

jimthedev
Copy link
Collaborator

Multiple lines should happen by passing an array of messages as message
instead of relying upon finding newline characters. A given message can
have newline characters without spawning a new -m argument. This fixes
this functionality.

@jimthedev
Copy link
Collaborator Author

@stevelacy I think it is ready for an npm patch level release. Basically, I made incorrect assumptions that newlines in commit messages are the same to using multiple -m "message" arguments. This was a bad assumption as -m "message" adds newline padding (\n\n) under the commit messages whereas \n just ads a single newline. This fixes that incorrect functionality.

@stephenlacy
Copy link
Owner

Can you update the docs/tests to match?
Thanks

Multiple lines should happen by passing an array of messages as message
instead of relying upon finding newline characters. A given message can
have newline characters without spawning a new -m argument. This fixes
this functionality.
@jimthedev
Copy link
Collaborator Author

@stevelacy Sure thing. Updated.

@stephenlacy
Copy link
Owner

Excellent, merging

Thanks!

stephenlacy pushed a commit that referenced this pull request May 7, 2015
Edit multiple line commit message functionality
@stephenlacy stephenlacy merged commit e72f853 into stephenlacy:master May 7, 2015
@jimthedev
Copy link
Collaborator Author

Great. As always, thanks for the merge, Steve.

@stephenlacy
Copy link
Owner

published v1.2.2

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

Successfully merging this pull request may close these issues.

2 participants