On 02/17/2012 10:36 AM, Timothy Pearson wrote:
On 02/16/2012 11:04 PM, Timothy Pearson wrote:
<snip>
Sounds like a bug in the version of GIT you have installed. You could check for buggy submodule handling in whatever version is installed...
It definitely should not be releated to the TDE project's GIT files, aside from the fact that we use submodules. :-)
Tim
Not a bug, a "Feature". With git version 1.6.5 or later, it seems you need to use:
git clone --recursive http://<user>@scm.trinitydesktop.org/scm/git/tde
--recursive, --recurse-submodules
After the clone is created, initialize all submodules within, using their default settings. This is equivalent to running git submodule update --init --recursive immediately after the clone is finished. This option is ignored if the cloned repository does not have a worktree/checkout (i.e. if any of --no-checkout/-n, --bare, or --mirror is given)
I'm giving the --recursive option a shot as we speak. If it is the problem, the wiki needs updating. I'll see if I still have an active login and add the info.
I was afraid of that. :-) At least there is an option (--recursive) to use the old behaviour, making this purely a documentation issue as you noted.
Tim
That was it! The current 'git clone --recursive' is pulling in the submodules:
Cloning into 'main/tdebase'... remote: Counting objects: 23030, done remote: Finding sources: 100% (23030/23030) remote: Total 23030 (delta 14744), reused 23030 (delta 14744) Receiving objects: 100% (23030/23030), 32.38 MiB | 98 KiB/s, done. Resolving deltas: 100% (14744/14744), done. Submodule path 'main/tdebase': checked out '52d0d54062c878fac12cacab8ea9dbfe9c1da905' Submodule 'admin' (http://system@scm.trinitydesktop.org/scm/git/tde-common-admin) registered for path 'admin' Submodule 'cmake' (http://system@scm.trinitydesktop.org/scm/git/tde-common-cmake) registered for path 'cmake' Cloning into 'admin'... remote: Counting objects: 241, done remote: Finding sources: 100% (241/241) remote: Total 241 (delta 168), reused 241 (delta 168) Receiving objects: 100% (241/241), 396.63 KiB | 104 KiB/s, done. Resolving deltas: 100% (168/168), done. Submodule path 'admin': checked out '05d69037cede1f0db222b4dec81dda64f26fd8b3' Cloning into 'cmake'... remote: Counting objects: 281, done remote: Finding sources: 100% (281/281) remote: Total 281 (delta 179), reused 281 (delta 179) Receiving objects: 100% (281/281), 41.46 KiB, done. Resolving deltas: 100% (179/179), done. Submodule path 'cmake': checked out 'caedf8323c45b376c824de343f31de78664b2511'
I've updated the wiki.
http://www.trinitydesktop.org/wiki/bin/view/Developers/GIT