You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using split commits, if there is a an empty line between commits, it will duplicate the commit prior to the empty line, and I noticed that it will sometimes assign it to a different scope, though I have not investigated the why at this point.
One of the reasons this is a problem is that in certain GUIs (like GitHub Desktop) if you enter the first line in the header and the second line in the body, it will automatically add a new line.
Steps To Reproduce
Simply editing the test from changelog.rs to contain a new line in one of the commits as such:
will create a duplicated entry:
Expected behavior
No duplication in the output (we could ignore empty lines as an easy fix when using split commits?)
Screenshots / Logs
No response
Software information
Operating system: Windows 10
Rust version: 1.79
Project version: tested with 2.2.1 and 2.1.2 and master branch
Additional context
I would like to undertake the changes, but wanted to discuss it first in case a different approach is preferred!
Thank you!
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Description of the bug
When using split commits, if there is a an empty line between commits, it will duplicate the commit prior to the empty line, and I noticed that it will sometimes assign it to a different scope, though I have not investigated the why at this point.
One of the reasons this is a problem is that in certain GUIs (like GitHub Desktop) if you enter the first line in the header and the second line in the body, it will automatically add a new line.
Steps To Reproduce
Simply editing the test from changelog.rs to contain a new line in one of the commits as such:
will create a duplicated entry:
Expected behavior
No duplication in the output (we could ignore empty lines as an easy fix when using split commits?)
Screenshots / Logs
No response
Software information
Additional context
I would like to undertake the changes, but wanted to discuss it first in case a different approach is preferred!
Thank you!
The text was updated successfully, but these errors were encountered: