Skip to content
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

Fixed issue where tags at the beginning of summary not parsed correctly. #929

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jwir3
Copy link

@jwir3 jwir3 commented Jun 26, 2021

If tags appeared before the category when parsing, the tags would not be
added to the list of tags in the commit message. This was due, in part, to
a regular expression that did not consider the possibility that the tag
could be at the beginning of a line, and partially due to the fact that
tags were only parsed from the remainder of the line AFTER categories had
been removed.

Fixes #928.

If tags appeared before the category when parsing, the tags would not be
added to the list of tags in the commit message. This was due, in part, to
a regular expression that did not consider the possibility that the tag
could be at the beginning of a line, and partially due to the fact that
tags were only parsed from the remainder of the line AFTER categories had
been removed.

Fixes saschagrunert#928.
@jwir3
Copy link
Author

jwir3 commented Jun 26, 2021

@saschagrunert I think perhaps I added the third test repository incorrectly. I'm not super familiar with git submodules. Could you advise on how I should add the necessary data to test this particular case?

@saschagrunert
Copy link
Owner

@saschagrunert I think perhaps I added the third test repository incorrectly. I'm not super familiar with git submodules. Could you advise on how I should add the necessary data to test this particular case?

Hm, we could also add the whole test repository to the tests directory without using submodules. 🤔

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.

Commit message summary line starting with tag does not seem to recognize tag
2 participants