Nguyen Thai Ngoc Duy <pclouds <at> gmail.com> writes:This is not a high priority for me, so if the added difficulty/intrusiveness means it would take longer for the sparse checkout capability to make it into mainline git, then I would drop this request, or at least delay it until some later time. 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 Another thing I thought of, which I'm not sure if it's sensible or not, is to make sparse checkout a persistent branch attribute by creating a .gitpaths (or whatever) file containing a list of directories that should be checked out. This would be analogous to the .gitmodules file. The .gitpaths file could then be checked in, and applied automatically any time the user checks out a branch containing such file. This is just an idea for discussion, not a feature request. James -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| Mariusz Kozlowski | [PATCH 01] kmalloc + memset conversion co kzalloc |
| Rafael J. Wysocki | [Bug #10629] 2.6.26-rc1-$sha1: RIP __d_lookup+0x8c/0x160 |
| Vladislav Bolkhovitin | Re: Integration of SCST in the mainstream Linux kernel |
| Jeff Garzik | Re: [RFC] Heads up on sys_fallocate() |
git: | |
| Linus Torvalds | Re: [GIT]: Networking |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Andrew Morton | Re: [BUG] New Kernel Bugs |
