-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(import): Keep first line break in body
When importing a patch with multiple lines, the first line break in the body was removed from the body of the commit in the stack, because it was stripped when searching for the headers. Add the line break again when adding the first line to the split_message. This did not surface in the tests, because the test bodies always had one line and the expected bodies had an incorrect number of line breaks at the end. Fix the expected number of line breaks as well.
- Loading branch information
1 parent
5bf4666
commit 570cd35
Showing
2 changed files
with
15 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters