diff options
author | zeripath <art27@cantab.net> | 2020-11-09 22:57:47 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-10 00:57:47 +0200 |
commit | 77e5081a2e3aaf1b60033e04fbe2c82e2f918d69 (patch) | |
tree | a60d9ebf407ea29dd32ac048403e31826999b764 /modules/eventsource | |
parent | ffa712e783ffbb4b3a79ca79c55dac5fde384e22 (diff) | |
download | gitea-77e5081a2e3aaf1b60033e04fbe2c82e2f918d69.tar.gz gitea-77e5081a2e3aaf1b60033e04fbe2c82e2f918d69.zip |
Fix panic bug in handling multiple references in commit (#13486)
* Fix panic bug in handling multiple references in commit
The issue lay in determining the position of matches on a second run round
a commit message in FindAllIssueReferences.
Fix #13483
Signed-off-by: Andrew Thornton <art27@cantab.net>
* Extract function and make testable
Signed-off-by: Andrew Thornton <art27@cantab.net>
* Fix the comment
Signed-off-by: Andrew Thornton <art27@cantab.net>
* cleaning up the comments a bit more
Signed-off-by: Andrew Thornton <art27@cantab.net>
Diffstat (limited to 'modules/eventsource')
0 files changed, 0 insertions, 0 deletions