Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Only download updated files #35

Open
BrainStone opened this issue Jan 28, 2023 · 1 comment
Open

Only download updated files #35

BrainStone opened this issue Jan 28, 2023 · 1 comment

Comments

@BrainStone
Copy link

It would be very nice if instead of always downloading everything this program could only download the files that changed.

So I think this can be achieved by storing the latest commit SHA in a file like .commit and when a repo is requested to be cloned check for that file and if it exists generate a diff and only downloading the files that were changed in that diff (I'm aware that just downloading and applying the file diff is way too difficult).

If this was added I'd argue it would make sense to add a flag to disable this behavior (or add a flag to enable it).

@eric-wieser
Copy link
Owner

eric-wieser commented Jan 28, 2023 via email

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

No branches or pull requests

2 participants