[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
submodules again
From: |
Werner LEMBERG |
Subject: |
submodules again |
Date: |
Wed, 21 Mar 2012 08:36:17 +0100 (CET) |
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' git repository elsewhere (b),
stepĀ 2 is different if I reference this local repository.
My question now is stepĀ 3 for situation (b). IMHO it would be fully
sufficient to create the clone with the `--shared' option. This saves
a lot of disk space, but `git submodule update' doesn't do this, and I
can't see an option to enforce it.
Is this my lack of understanding of submodules or is this is a missing
feature of `git submodule update'?
I'm using git 1.7.8.3 in case this is of importance.
Werner
- submodules again,
Werner LEMBERG <=