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

add support for depth in clone_repo #630

Open
ignatenkobrain opened this issue May 6, 2016 · 5 comments
Open

add support for depth in clone_repo #630

ignatenkobrain opened this issue May 6, 2016 · 5 comments

Comments

@ignatenkobrain
Copy link
Contributor

Very often I use --depth 1 to not clone full repo, would be great to have it implemented.

@carlosmn
Copy link
Member

carlosmn commented May 6, 2016

This does to libgit2/libgit2#3058 but nobody has cared enough to implement the necessary bits.

@omniproc
Copy link

Seems to be added with this PR, soon to be mergedwith upstream I hope
libgit2/libgit2#6396

@omniproc
Copy link

FYI: feature just landed in libgit2.
libgit2/libgit2#3058 (comment)

@vitalypugach
Copy link

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

@omniproc
Copy link

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?

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

No branches or pull requests

4 participants