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

Reduce transfer size of checkout mode transfers #4

Merged
merged 5 commits into from
May 26, 2022
Merged

Conversation

ps-jay
Copy link
Member

@ps-jay ps-jay commented May 26, 2022

By only transferring the .git directory, we can save data in transfers

An example repo at my organisation is 27MiB when cloned with --no-checkout --depth 1, but is 135MiB when cloned with only --depth 1

Given a repo can be "re-hydrated" from .git alone, lets do that!

@ps-jay
Copy link
Member Author

ps-jay commented May 26, 2022

I also improved the test coverage in this PR

Permissions retention will be a separate PR and minor version

@ps-jay ps-jay merged commit 1c9ba64 into main May 26, 2022
@ps-jay ps-jay deleted the DE-5249-improve branch May 26, 2022 04:37
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.

2 participants