Files
gitea/modules/references
zeripath 77e5081a2e 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 <[email protected]>

* Extract function and make testable

Signed-off-by: Andrew Thornton <[email protected]>

* Fix the comment

Signed-off-by: Andrew Thornton <[email protected]>

* cleaning up the comments a bit more

Signed-off-by: Andrew Thornton <[email protected]>
2020-11-10 00:57:47 +02:00
..