On Mon, Apr 25, 2016 at 10:02 AM, Stefan Beller <sbeller@xxxxxxxxxx> wrote: > On Mon, Apr 25, 2016 at 3:39 AM, Lars Schneider > <larsxschneider@xxxxxxxxx> wrote: >> Hi, >> >> a few folks from the Git LFS project and I try to make cloning of repositories >> with a lot of LFS files faster. >> >> The core problem is that Git LFS uses a Git smudge filter to replace LFS >> pointers with the actual file content. Right now, a smudge filter can only >> be executed on an individual file which makes the operation slow for many >> files [1]. >> >> We solved this issue by temporarily disabling the smudge filter for the clone >> command via Git config (optimized in 1a8630 [2]): >> >> git -c filter.lfs.smudge= -c filter.lfs.required=false clone <url> <path> >> >> Afterwards Git LFS runs a special command to download and replace all LFS >> content in bulk [3]. This works great for LFS repositories. >> >> However, I noticed that git config command line instructions such as >> "-c filter.lfs.smudge=" are not passed to Git submodule operations. Thus >> this does not work as expected: >> >> git -c filter.lfs.smudge= -c filter.lfs.required=false clone --recursive <url> <path> > > I have cc'd Jacob Keller, who authored origin/jk/submodule-c-credential, > which does work in that area (deciding which config option to pass down > into the submodule commands). > This is a tricky question. The problem is that some configurations are obviously not intended to go into the submodules, but determining how is somewhat troublesome. There was some discussion on this previous thread when we added support for credential options to pass through. Thanks, Jake -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html