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
I made a kind of mistake with a commit message. In a feature-commit I included a minor fix which was necessary to make the feature running. The commit-message looks like:
feat: feature new
feat: feature description
fix: fix to make feature working
With commitizen this ends up in two entries for this commit - what I think is not intended according to conventional commit but the code says: it is.
I debugged it to commitizen\changelog.py and generate_tree_from_commits. There the coding is
# Process subject and body from commit message
for message in chain(
[map_pat.match(commit.message)],
(body_map_pat.match(block) for block in commit.body.split("\n\n")),
):
To avoid:
for message in chain(
[map_pat.match(commit.message)]
):
I wonder if a config parameter to prevent evaluation of the commit message body might be an idea as I think it should not be evaluated for conventional commit anyway ?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I made a kind of mistake with a commit message. In a feature-commit I included a minor fix which was necessary to make the feature running. The commit-message looks like:
With commitizen this ends up in two entries for this commit - what I think is not intended according to conventional commit but the code says: it is.
I debugged it to commitizen\changelog.py and generate_tree_from_commits. There the coding is
To avoid:
I wonder if a config parameter to prevent evaluation of the commit message body might be an idea as I think it should not be evaluated for conventional commit anyway ?
Beta Was this translation helpful? Give feedback.
All reactions