Allow colon in closing issue from commit message #5699
Labels
issue/confirmed
Issue has been reviewed and confirmed to be present or accepted to be implemented
type/enhancement
An improvement of existing functionality
[x]
):Description
Gitea-Issues can be closed, reopened or referenced in commit messages.
The same keywords as in github are used, see here.
Githubs description of the feature is described here.
Inside github it is possible to use a colon between keyword and issue-number, eg
This is not possible with gitea, only keywords directly followed by the issue number are recognised:
It would be great if an optional colon
:
could be supported.If I read the source code correctly this should be feasible by slightly extending the regex used to detect the keywords.
Depending on your understanding, communication with the issue tracker is additional information that is not necessarily related to the actual commit.
Especially if you use the commit messages in addition in other ways (e.g. to create documentation or changelogs) issue-related stuff is often unimportant.
The ability to structure issue references more clearly makes it easier to ignore these references where they are not needed.
Additional Infos
The text was updated successfully, but these errors were encountered: