submodules again

2012-03-21 Thread Werner LEMBERG
Folks, the default operation (a) of `bootstrap' is clear: 1. The `gnulib' submodule URL is in file `.gitmodules'. 2. No special submodule entry in `.git/config'. 3. A (submodule) clone of `gnulib' is created. 4. All files of `gnulib' are checked out. If I already have a local `gnulib'

Re: submodules again

2012-03-21 Thread Jim Meyering
Werner LEMBERG wrote: Folks, the default operation (a) of `bootstrap' is clear: 1. The `gnulib' submodule URL is in file `.gitmodules'. 2. No special submodule entry in `.git/config'. 3. A (submodule) clone of `gnulib' is created. 4. All files of `gnulib' are checked out. If I

Re: submodules again

2012-03-21 Thread Eric Blake
On 03/21/2012 01:44 PM, Jim Meyering wrote: git-submodule's --reference option looks like it does what you want. However, balancing the repo duplication cost against the risk of error described in git-clone's --reference and --shared descriptions, so far, I have preferred to use more disk

Re: submodules again

2012-03-21 Thread Jim Meyering
Eric Blake wrote: On 03/21/2012 01:44 PM, Jim Meyering wrote: git-submodule's --reference option looks like it does what you want. However, balancing the repo duplication cost against the risk of error described in git-clone's --reference and --shared descriptions, so far, I have preferred to