Initial support for cloning submodules

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <git@...>
Cc: Sven Verdoolaege <skimo@...>
Date: Friday, May 4, 2007 - 6:49 am

From: Sven Verdoolaege <skimo@kotnet.org>

This patch series implements a mechanism for cloning submodules.
Each submodule is specified by a 'submodule.<submodule>.url'
configuration option, e.g.,

bash-3.00$ ./git-config --remote=http://www.liacs.nl/~sverdool/isa.git --get-regexp 'submodule\..*\.url' 
submodule.cloog.url /home/sverdool/public_html/cloog.git
submodule.cloog.url http://www.liacs.nl/~sverdool/cloog.git

git-clone will use the first url that works.
E.g., a

git clone --submodules ssh://liacs/~/public_html/isa.git

(which only works for me), will use the first url, while a

git clone --submodules http://www.liacs.nl/~sverdool/isa.git

will use the second.

The submodules are currently not checked out.

skimo
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Initial support for cloning submodules, Sven Verdoolaege, (Fri May 4, 6:49 am)
[PATCH] git-config: read remote config files over HTTP, Sven Verdoolaege, (Fri May 4, 6:49 am)
Re: [PATCH] git-config: read remote config files over HTTP, Sven Verdoolaege, (Sun May 6, 9:53 am)
[PATCH] git-clone: add --submodules for cloning submodules, Sven Verdoolaege, (Fri May 4, 6:49 am)
[PATCH] Add dump-config, Sven Verdoolaege, (Fri May 4, 6:49 am)
[PATCH] http.h: make fill_active_slots a function pointer, Sven Verdoolaege, (Fri May 4, 6:49 am)