Skip to content

Make fetch return error code when 1+ downloads failed - #734

Merged
technoweenie merged 3 commits into
git-lfs:masterfrom
sinbad:fetch-return-code
Oct 20, 2015
Merged

technoweenie merged 3 commits into
git-lfs:masterfrom
sinbad:fetch-return-code

Conversation

@sinbad

@sinbad sinbad commented Oct 13, 2015

Copy link
Copy Markdown
Contributor

Raised as part of #731

Includes some changes to the test git server which actually wasn't strictly complying with the 1.0 API spec. Also includes a couple of tweaks to make errors from transfer queue identifiable to the oid that caused them.

Added a 'delete' method to the git test server just for testing purposes, to create a failing condition.

Was previously inferring the operation from existence but 1.0 API states
should be 404, not switch to "upload" operation. Also don't provide
download link when asking to upload any more.
@technoweenie technoweenie mentioned this pull request Oct 19, 2015
14 of 20 tasks
technoweenie added a commit that referenced this pull request Oct 20, 2015
Make fetch return error code when 1+ downloads failed
@technoweenie
technoweenie merged commit 4915979 into git-lfs:master Oct 20, 2015
@sinbad
sinbad deleted the fetch-return-code branch October 23, 2015 07:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants