Details
-
New Feature
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
Description
Support for "sparse checkout" as introduced with Git 1.7.0, see Git v1.7.0 Release Notes.
See here for a nice example: Subdirectory Checkouts with git sparse-checkout
Note also -- <paths>… parameter of git checkout command (don't know when this was introduced).
Per http://stackoverflow.com/questions/18458608/how-to-do-sparse-checkout-in-git-using-java , JGit does not support sparse checkout. I reviewed the pre-release source code for JGit 3.3.0 and found no indication of support for sparse checkout.
That does not preclude implementing sparse checkout in the plugin for command line git, but it would be another case where the JGit implementation does not match the command line implementation.