stable

Clone or download

Read-only

request #12291: Add minimal support of Git submodules

Accessing a submodule in a PR should not throw an error like it was previously the case. The support of the submodules introduced by this contribution is minimal, it however allows someone reviewing a PR to have access to all information. Change-Id: I8b05efbf616f9ee0f94ad0932e51b2b7589f56a2

Modified Files

Name
M plugins/git/include/GitPHP/git/Blob.php +11 −0 Go to diff View file
M plugins/git/include/GitPHP/git/Commit.php +10 −0 Go to diff View file
M plugins/git/include/GitPHP/git/GitObjectType.php +5 −0 Go to diff View file
A plugins/git/include/GitPHP/git/Submodule.php +57 −0 Go to diff View file
M plugins/git/include/GitPHP/git/Tree.php +10 −5 Go to diff View file
A plugins/git/phpunit/GitPHP/TreeTest.php +64 −0 Go to diff View file
M plugins/git/site-content/fr_FR/LC_MESSAGES/tuleap-git.po +3 −0 Go to diff View file
M plugins/git/site-content/tuleap-git.pot +3 −0 Go to diff View file
M plugins/git/templates/gitphp/blob.tpl +1 −0 Go to diff View file
M plugins/git/templates/gitphp/treelist.tpl +10 −1 Go to diff View file
M plugins/pullrequest/include/PullRequest/REST/v1/PullRequestsResource.php +27 −34 Go to diff View file