Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix fallthrough when git-lfs-authenticate returns an error #909

Merged
merged 1 commit into from Dec 24, 2015

Conversation

sinbad
Copy link
Contributor

@sinbad sinbad commented Dec 22, 2015

If using an SSH URL and git-lfs-authenticate returns an error, without this change the error is just reported to the trace but execution continues.

A common result is a completely made up LFS URL being returned which then 404's, which ends up setting lfs.batch=false. If the server doesn't implement the non-batch interface, this config then breaks LFS even after the SSH issue is resolved & has to be manually removed, which is quite confusing for the user.

If using an SSH URL and git-lfs-authenticate returns an error, without
this change the error is just reported to the trace but execution
continues.

A common result is a completely made up LFS URL being returned which
then 404's, which ends up setting lfs.batch=false. If the server doesn't
implement the non-batch interface, this config then breaks LFS even
after the SSH issue is resolved & has to be manually removed.
@technoweenie technoweenie mentioned this pull request Dec 24, 2015
17 tasks
technoweenie added a commit that referenced this pull request Dec 24, 2015
Fix fallthrough when git-lfs-authenticate returns an error
@technoweenie technoweenie merged commit 2c77a36 into git-lfs:master Dec 24, 2015
@technoweenie
Copy link
Contributor

Yuck :( Thanks for the fix :)

@technoweenie technoweenie mentioned this pull request Feb 2, 2016
15 tasks
@sinbad sinbad deleted the fix-ssh-error-fallthrough branch February 23, 2016 11:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants