[Kde-scm-interest] requirements on git itself: ignore-if-not-present submodules
Thiago Macieira
thiago at kde.org
Sat Aug 16 10:10:21 CEST 2008
Please follow my logic to see if this feature is needed and what it is:
in the proposed structure for KDE using Git, we'd have one repository
called KDE.git, which contains submodule links to
kdelibs
kdepimlibs
kdebase
kdeaccessibility
kdeadmin
...
That way, if someone wants to check out all of KDE, they only need to
clone that supermodule and tell it to initialise the submodules.
We also retain the ability of saying "this commit in kdebase requires that
commit in kdelibs" by way of a supermodule commit.
However, what happens if the developer only wants kdelibs, kdepimlibs and
kdebase?
If you don't initialise the other submodules, git will think they were
removed. Your next commit to the KDE.git supermodule will remove the
link.
So the feature I feel we need is for git submodule to ignore the
submodules that were not cloned.
This is similar to Subversion's --depth feature in checking out.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kde-scm-interest/attachments/20080816/8bc5eb0e/attachment.pgp
More information about the Kde-scm-interest
mailing list