-
-
Notifications
You must be signed in to change notification settings - Fork 385
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
add support for depth in clone_repo #630
Comments
This does to libgit2/libgit2#3058 but nobody has cared enough to implement the necessary bits. |
Seems to be added with this PR, soon to be mergedwith upstream I hope |
FYI: feature just landed in libgit2. |
Any ETA for a new release? The "depth" parameter is already in the master branch https://github.com/libgit2/pygit2/blob/2accdf97ded8c3b777465e22c4e779692562fa9f/pygit2/decl/remote.h#L86C5-L86C5 |
Seems like this has been added now and it's documented here: https://www.pygit2.org/repository.html#pygit2.clone_repository So, this issue can be closed I guess? |
Very often I use
--depth 1
to not clone full repo, would be great to have it implemented.The text was updated successfully, but these errors were encountered: