* 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]>