agit icon indicating copy to clipboard operation
agit copied to clipboard

Add "depth" option to cloning

Open aragaer opened this issue 14 years ago • 1 comments

For example I want to read some code. The project is rather big and has a long history but I'm interested only in current version and nothing else. It would be nice if I could get a non-bare shallow copy of a repo.

aragaer avatar Sep 20 '11 11:09 aragaer

A great feature, unfortunately this is blocked because the JGit library does not currently support shallow-clones (specifically on the client-side, as it does support shallow-clones when running as a server).

As of 11th August 2011, Shawn said :

Right, we have not yet implemented shallow client support in JGit.

At some point it would be nice to take a crack at adding this functionality to JGIt.

rtyley avatar Sep 20 '11 11:09 rtyley