stable

Clone or download

Read-only

Do not display git xref for unreadable repository

If user cannot access a repository, then all references involving commits in this repository are not displayed. Part of story #17180 take into account gitlab commits Change-Id: I5cff3e899ebef94d0e1e3df580285038a41e4fae

Modified Files

Name
M plugins/git/include/Git/Reference/CrossReferenceGitOrganizer.php +45 −15 Go to diff View file
M plugins/git/include/gitPlugin.php +5 −0 Go to diff View file
M plugins/git/tests/unit/Git/Reference/CrossReferenceGitOrganizerTest.php +185 −6 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Field/CrossReference/CrossReferenceFieldRenderer.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/View/Reference/CrossReferenceFieldPresenterBuilder.php +3 −2 Go to diff View file
M plugins/tracker/tests/unit/Tracker/FormElement/View/Reference/CrossReferenceFieldPresenterBuilderTest.php +11 −6 Go to diff View file
M src/common/Reference/CrossReferenceByDirectionPresenterBuilder.php +10 −6 Go to diff View file
M src/common/Reference/CrossReferenceByNatureOrganizer.php +23 −1 Go to diff View file
M tests/unit/common/Reference/CrossReferenceByDirectionPresenterBuilderTest.php +3 −1 Go to diff View file
M tests/unit/common/Reference/CrossReferenceByNatureOrganizerTest.php +31 −6 Go to diff View file