gitchangelog icon indicating copy to clipboard operation
gitchangelog copied to clipboard

ignore_regexps doesnt match against whole message, only subject

Open rasjani opened this issue 5 years ago • 0 comments

Documentation in the reference config file says this:

## Any commit having its full commit message matching any regexp listed here
## will be ignored and won't be reported in the changelog.

However: https://github.com/vaab/gitchangelog/blob/master/src/gitchangelog/gitchangelog.py#L1592

Looks like that the ignored regexps are only matched against commit.subject.

Personally i prefere to keep the commit subject line under 72 characters and thus, sometimes im forced to put, say, !minor into the first actual line of the commit message (or just last). And then, these lines will show up in the changelog.

rasjani avatar Apr 30 '19 09:04 rasjani