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

Check Git LFS support #21

Open
christianspecht opened this issue Oct 4, 2018 · 3 comments
Open

Check Git LFS support #21

christianspecht opened this issue Oct 4, 2018 · 3 comments

Comments

@christianspecht
Copy link
Owner

As suggested here:

  • create a test repo with a large file
  • set up Git LFS
  • check whether SCM Backup is able to backup the repo, and if all large files are actually included in the backup
@christianspecht
Copy link
Owner Author

Git LFS Specification

Additional thoughts:

Apparently, if you clone a repo with LFS objects and your local Git client has LFS not enabled, it just pulls the pointer files, but not the actual large file.

So when this happens while backing up with SCM Backup, it should detect if a repo contains LFS objects, and warn the user / throw an exception / not even start backing up (?) when LFS is not enabled in the local Git installation.

@DirkHeinke
Copy link

I just checked it, and git fetch seems to ignore LFS. So Backing up repositories with LFS currently ignores all files in LFS.

A git lfs fetch {url} after the fetch loads the LFS data. What would be the best way to integrate this feature?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants