-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Detect full references to issues and pulls in commit messages #12399
Detect full references to issues and pulls in commit messages #12399
Conversation
Fix go-gitea#10269 Signed-off-by: Andrew Thornton <art27@cantab.net>
Did not seem to work with: git commit --allow-empty -m 'xxx - fixes: http://localhost:3500/test/test/issues/1' but this did: git commit --allow-empty -m 'xxx - fixes: #1' |
Signed-off-by: Andrew Thornton <art27@cantab.net>
Sorry @silverwind looks like that was an initially failed attempt. The problem was that I was looking in the wrong place - I'll leave the other fix in place though. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works for me. Some kind of test for this may be good to have, but not required.
I think tests are necessary. |
Signed-off-by: Andrew Thornton <art27@cantab.net>
done |
make lg-tm work |
Fix #10269
Signed-off-by: Andrew Thornton art27@cantab.net