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

Shallow clone Git repository during backup #209

Closed
MoritzWeber0 opened this issue Sep 22, 2023 · 0 comments · Fixed by #212
Closed

Shallow clone Git repository during backup #209

MoritzWeber0 opened this issue Sep 22, 2023 · 0 comments · Fixed by #212
Assignees

Comments

@MoritzWeber0
Copy link
Member

Right now, we clone the whole working tree, which slows down the backup. It is sufficient to do a shallow clone.

For existing branches, shallow clone the branch. For non-existing branches, shallow clone the default branch and create a new one.

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

Successfully merging a pull request may close this issue.

2 participants