Message: previous - next
Month: February 2012

Re: [trinity-devel] git clone - not cloning contents of submodules (cmake, admin, ...)

From: "David C. Rankin" <drankinatty@...>
Date: Thu, 16 Feb 2012 11:41:12 -0600
On 02/16/2012 10:40 AM, David C. Rankin wrote:
>   I don't know if this is the git config for tde or me that is causing the git
> clone of the tde tree to fail to clone the needed admin, cmake and other
> submodules when doing a clone of the entire project.
>   I cloned using:
> git clone http://drankin@.../scm/git/tde
> ./scripts/switch_all_submodules_to_head_and_clean
>   I have since used:
> git pull
> ./scripts/switch_all_submodules_to_head_and_clean
> git submodule update --init
>   git reports the tree is up to date:
> 10:00 archangel:/dat_f/tde> git pull
> Already up-to-date.
>   However, working on tqtinterface, the tqtinterface/admin and
> tqtinterface/cmake directories are empty -- and tqtinterface will not build.
> Comparing what I see browsing the git repository online and what I have locally,
> there is no question files are missing.
>   Can I fix this, or do I just need to pull another complete copy of the tree?

One of the primary problems seems to be the creation of '.git' FILES instead of
'.git' DIRECTORIES on checkout:

11:37 archangel:/dat_f/tde> find main -type f -name .git

David C. Rankin, J.D.,P.E.