git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sven Verdoolaege <skimo@liacs.nl>
To: git@vger.kernel.org
Cc: Sven Verdoolaege <skimo@liacs.nl>
Subject: Initial support for cloning submodules
Date: Fri,  4 May 2007 12:49:22 +0200	[thread overview]
Message-ID: <11782757671754-git-send-email-skimo@liacs.nl> (raw)

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

             reply	other threads:[~2007-05-04 11:29 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-04 10:49 Sven Verdoolaege [this message]
2007-05-04 10:49 ` [PATCH] Add dump-config Sven Verdoolaege
2007-05-04 10:49 ` [PATCH] git-config: add --remote option for reading config from remote repo Sven Verdoolaege
2007-05-04 10:49 ` [PATCH] http.h: make fill_active_slots a function pointer Sven Verdoolaege
2007-05-04 10:49 ` [PATCH] git-config: read remote config files over HTTP Sven Verdoolaege
2007-05-06  6:55   ` Junio C Hamano
2007-05-06 13:53     ` Sven Verdoolaege
2007-05-04 10:49 ` [PATCH] git-clone: add --submodules for cloning submodules Sven Verdoolaege
  -- strict thread matches above, loose matches on Subject: below --
2007-05-04 10:56 Initial support " Sven Verdoolaege
2007-05-04 22:52 ` Junio C Hamano
2007-05-05  8:14   ` Sven Verdoolaege
2007-05-05  8:46     ` Junio C Hamano
2007-05-06  4:13     ` Alon Ziv
2007-05-18 19:33   ` Sven Verdoolaege

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=11782757671754-git-send-email-skimo@liacs.nl \
    --to=skimo@liacs.nl \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).