Thread (5 messages) 5 messages, 2 authors, 2016-06-15

Re: [PATCH] clone: allow initial sparse checkouts

flat view

From: Duy Nguyen <hidden>
Date: 2016-06-15 22:59:58

On Sun, Feb 23, 2014 at 9:31 AM, Robin H. Johnson [off-list ref] wrote:
Presently if you want to perform a sparse checkout, you must either do a
full clone and then recheckout, or do a git init, manually set up
sparse, and then fetch and checkout.
I think you could do "clone -n" (no checkout), set up sparse, then checkout.
This patch implements easily accessible sparse checkouts during clone,
in the --sparse-checkout option.

$ git clone REPO --sparse-checkout PATH
Or take a file as input if there are lots of paths/rules.
-- 
Duy
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help