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

git clone --depth argument #294

Open
jakob-r opened this issue Sep 26, 2017 · 2 comments
Open

git clone --depth argument #294

jakob-r opened this issue Sep 26, 2017 · 2 comments

Comments

@jakob-r
Copy link

jakob-r commented Sep 26, 2017

Hi,
a feature I would like is the depth argument in clone().
Sometimes I am sure that I don't need the history of a project locally.
What are your thoughts?

@nfultz
Copy link

nfultz commented Dec 18, 2017

I would also find this very useful - I am using git2r to maintain a common drat repo across four different projects - my CI has to clone and update the drat repo each build, which unfortunately includes every binary ever built ever - we are up to 75mb now, and it will only get slower.

I will take a look and see if this is straightforward to add.

@nfultz
Copy link

nfultz commented Dec 18, 2017

It looks like this feature is still open upstream in libgit2 libgit2/libgit2#3058 - there seems to be ongoing work to add this feature here - libgit2/libgit2#4331

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

2 participants