stable

Clone or download

Read-only

Add a GET route on /git/{id}/commits/{commit_reference}

This change is part of story #18320 native support of pull requests in tuleap branch source jenkins plugin Change-Id: I795647c4a9476d5e8649fdd2b10bb2c75e8c54bb

Modified Files

Name
M plugins/git/include/REST/v1/GitCommitRepresentation.php +41 −76 Go to diff View file
M plugins/git/include/REST/v1/GitCommitRepresentationBuilder.php +79 −8 Go to diff View file
M plugins/git/include/REST/v1/RepositoryResource.class.php +46 −2 Go to diff View file
M plugins/git/tests/rest/Git/RepositoryTest.php +48 −0 Go to diff View file
A plugins/git/tests/unit/Git/REST/v1/GitCommitRepresentationBuilderTest.php +198 −0 Go to diff View file
M plugins/pullrequest/include/PullRequest/REST/v1/PullRequestsCommitRepresentationFactory.php +1 −1 Go to diff View file