-
Notifications
You must be signed in to change notification settings - Fork 695
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
Support 'depth' in cloneOptions #624
Comments
Unfortunately we are limited by the design and API of libgit2, which currently does not support shallow clones. You can find more information here: libgit2/libgit2#3058 |
Shouldn't this still be open but with a RequiresUpstream label or something? |
Odds are once it's available upstream, it will just automagically land in nodegit, unless there is something special about it that requires explicit attention on our end. |
Is it still unavailable? |
This is now available in libgit2 libgit2/libgit2#3058 |
I'm using nodegit to automate the setup process of a large project with many dependencies. I'd like to be able to reduce the time it takes to clone some of the repositories by limiting the clone to the last 200 revisions, but nodegit does not support the depth option as far as I can tell.
Example git command:
The text was updated successfully, but these errors were encountered: