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

upload_folder (more broadly create_commit) should not reupload LFS files that are already uploaded #1355

Closed
Wauplin opened this issue Feb 21, 2023 · 0 comments

Comments

@Wauplin
Copy link
Contributor

Wauplin commented Feb 21, 2023

Related to #1352. I'm creating this issue to decouple this problem from the initial topic (the push(...) method).

At the moment, if a user creates a commit (with upload_file, upload_folder or create_commit) to add an LFS file to the repo, the file will be uploaded to S3, no matter if it already exists there or not.

EDIT: don't know why I ended up thinking it was the case. LFS files are never re-uploaded and that's nice!

# Step 2: ignore files that have already been uploaded
.

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

No branches or pull requests

1 participant