stable
Clone or download
Read-only
request #12481: Calling REST routes git/{id}/(files|branches|tags) when a repository is being created gives an error
In the same way that the REST route GET git/{id} is usable while the repository is being created, these routes should not crash. Change-Id: I4c9a66dbbef605bdd23108fa17770c5820e6db30
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/git/include/Git/Repository/View/FilesHeaderPresenterBuilder.php | +6 | −1 | Go to diff View file |
M | plugins/git/include/GitPHP/git/Project.php | +4 | −4 | Go to diff View file |
M | plugins/git/include/GitPHP/git/ProjectProvider.php | +4 | −0 | Go to diff View file |
A | plugins/git/include/GitPHP/git/RepositoryAccessException.php | +25 | −0 | Go to diff View file |
A | plugins/git/include/GitPHP/git/RepositoryNotExistingException.php | +25 | −0 | Go to diff View file |
M | plugins/git/include/REST/v1/GitFileRepresentationFactory.php | +5 | −6 | Go to diff View file |
M | plugins/git/include/REST/v1/RepositoryResource.class.php | +22 | −5 | Go to diff View file |