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

GitHub: Moved / deleted resources leave dangling LFS pointer files #11

Open
shevron opened this issue Jun 10, 2020 · 0 comments
Open

GitHub: Moved / deleted resources leave dangling LFS pointer files #11

shevron opened this issue Jun 10, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@shevron
Copy link
Contributor

shevron commented Jun 10, 2020

When using the GitHub backend with LFS support, if I delete a resource previously pointed to by an LFS pointer file, or change the path of an existing resource, and then call .update(), I will end up with an orphan LFS pointer file not pointing to a resource which exists in the current revision.

This can cause side effects when repositories are accessed directly via Git. When checked out, users will get the old LFS pointer files downloaded as-is without being removed or replaced by LFS.

Resources referred to by the latest revision should work correctly.

@shevron shevron added the bug Something isn't working label Jun 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant