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

Protect submodule repos from treeless, add off option #266

Merged
merged 2 commits into from
Jan 10, 2024

Conversation

mathomp4
Copy link
Member

This PR adds a protection so that treeless clones do not happen when a repo has submodules. Git said that is strongly not recommended (see https://github.blog/2020-12-21-get-up-to-speed-with-partial-clone-and-shallow-clone/).

Also, add a --partial=off option so a user can override the .mepoconfig behaviour.

@mathomp4 mathomp4 added the enhancement New feature or request label Jan 10, 2024
@mathomp4 mathomp4 self-assigned this Jan 10, 2024
@mathomp4 mathomp4 requested a review from a team as a code owner January 10, 2024 17:40
@mathomp4 mathomp4 merged commit 64df27f into develop Jan 10, 2024
14 checks passed
@mathomp4 mathomp4 deleted the feature/mathomp4/protect-treeless-submodules branch January 10, 2024 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant