Partial-cloning or filtering a submodule

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



When adding a submodule, I usually only need part of the submodule repository.

As far as I know there is currently no support for partial-cloning submodules. Before I try my hand at this, I want to ask if it makes sense as a feature.

I imagine it like this: 
* new `submodule.<name>.filter` field in .gitmodules
* on `submodule update`, the plumbing described at https://git-scm.com/docs/partial-clone is used to filter the specified paths
* if we do `submodule update --recursive`, submodules excluded by the filter-spec are not filled in, maybe they also don't show up in `git submodule status --recursive` etc

Thoughts?




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux