stable
Clone or download
Read-only
request #12581: Git LFS error responses can be interpreted by the client
Currently the responses might not be interpreted because the expected format [0][1] might not be respected. [0] https://github.com/git-lfs/git-lfs/blob/v2.6.0/docs/api/batch.md#response-errors [1] https://github.com/git-lfs/git-lfs/blob/v2.6.0/docs/api/locking.md#error-response Change-Id: If450bb29402378e89f3368eefde950259dee9181
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/gitlfs/include/Batch/LFSBatchController.php | +1 | −6 | Go to diff View file |
M | plugins/gitlfs/include/Batch/Request/IncorrectlyFormattedBatchRequestException.php | +8 | −2 | Go to diff View file |
M | plugins/gitlfs/include/Batch/Response/MaxFileSizeException.php | +4 | −2 | Go to diff View file |
M | plugins/gitlfs/include/Batch/Response/ProjectQuotaExceededException.php | +4 | −2 | Go to diff View file |
M | plugins/gitlfs/include/Batch/Response/UnknownOperationException.php | +4 | −2 | Go to diff View file |
A | plugins/gitlfs/include/GitLFSException.php | +27 | −0 | Go to diff View file |
M | plugins/gitlfs/include/LFSJSONHTTPDispatchable.php | +17 | −4 | Go to diff View file |
M | plugins/gitlfs/include/Lock/Controller/LFSLockCreateController.php | +1 | −6 | Go to diff View file |
M | plugins/gitlfs/include/Lock/Controller/LFSLockDeleteController.php | +1 | −6 | Go to diff View file |
M | plugins/gitlfs/include/Lock/Controller/LFSLockVerifyController.php | +1 | −6 | Go to diff View file |
M | plugins/gitlfs/include/Lock/LockDestructionNotAuthorizedException.php | +3 | −2 | Go to diff View file |
M | plugins/gitlfs/include/Lock/Request/IncorrectlyFormattedReferenceRequestException.php | +7 | −1 | Go to diff View file |
M | plugins/gitlfs/include/Lock/Request/LockCreateRequest.php | +0 | −1 | Go to diff View file |
M | plugins/gitlfs/include/Lock/Request/LockDeleteRequest.php | +0 | −1 | Go to diff View file |
M | plugins/gitlfs/include/Transfer/Basic/LFSBasicTransferException.php | +4 | −2 | Go to diff View file |
M | plugins/gitlfs/include/Transfer/Basic/LFSBasicTransferObjectIntegrityException.php | +1 | −1 | Go to diff View file |
M | plugins/gitlfs/include/Transfer/Basic/LFSBasicTransferObjectOutOfBoundSizeException.php | +2 | −2 | Go to diff View file |
M | plugins/gitlfs/include/Transfer/Basic/LFSBasicTransferObjectSizeException.php | +1 | −1 | Go to diff View file |
M | plugins/gitlfs/include/Transfer/Basic/ReadTooMuchDataException.php | +5 | −3 | Go to diff View file |
M | plugins/gitlfs/include/Transfer/Basic/SHA256ComputeOnReadFilter.php | +2 | −0 | Go to diff View file |
M | plugins/gitlfs/include/Transfer/LFSTransferVerificationException.php | +8 | −2 | Go to diff View file |
M | plugins/gitlfs/phpunit/LFSJSONHTTPDispatchableTest.php | +40 | −4 | Go to diff View file |