Thread (27 messages) flat view 27 messages, 6 authors, 2016-06-15

Re: [RFC PATCH 00/12] Sparse checkout

From: Nguyen Thai Ngoc Duy <hidden>
Date: 2016-06-15 22:45:01

On 7/25/08, James Pickens [off-list ref] wrote:
quoted
You can do that with "git checkout --path" (non-recursive checkout aside):
 >
 > $ git checkout --path=A                     # checkout full A
 > $ git checkout --path=A/B1/C1               # no, limit to A/B1/C1 only
 > $ git checkout --path=A/B1/C1:A/B2          # extend to A/B2 too


My point was not that incremental checkout is impossible, just that it
 would be easier if I didn't have to re-type the full path list again.
 Suppose I had 9 directories (A/B1 through A/B9) in my sparse checkout,
 and I wanted to add a 10th directory (A/B10).  It would be much easier
 to type something like

 $ cd A
 $ git checkout B10

 instead of

 $ git checkout --path=A/B1:A/B2:A/B3:A/B4:A/B5:A/B6:A/B7:A/B8:A/B9:A/B10
"git checkout B10" form has already been taken. How about "git
checkout --add-path" and "git checkout --remove-path"?
-- 
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