Re: [RFC] Fourth round of support for cloning submodules

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Josef Weidendorfer
Date: Friday, May 25, 2007 - 6:59 am

On Friday 25 May 2007, Johannes Schindelin wrote:

Not necessary.
* Submodules can appear/disappear any time in the superproject.
Therefore, going back in time can make it necessary to have to clone
a submodule you did not have before.
* Not every submodule is interesting for every developer; therefore,
an important design-decision for submodules is to allow at git-clone time
to not clone some submodules at all. However, you can change your mind and
want to follow a given submodule later.

Above points make it necessary for the submodule feature to implement
lazy clones. You want be able to clone a submodule without error independent
of the superproject HEAD. IMHO it would be really bad porcelain design
to break out with an error each time and expect the USER to manually
override submodule URLs.

Another difference between in-tree .gitmodules and out-of-tree submodule
config is that for in-tree you any want to see configuration for submodules
which happen to be part of the superproject at this point in history.
For out-of-tree config, there has to be information for every submodule which
was referenced in the whole history of the superproject.

Josef
-
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:
[PATCH 02/22] Add dump-config, skimo, (Wed May 23, 3:22 pm)
Re: [RFC] Fourth round of support for cloning submodules, Johannes Schindelin, (Wed May 23, 4:40 pm)
Re: [RFC] Fourth round of support for cloning submodules, Junio C Hamano, (Wed May 23, 5:50 pm)
Re: [PATCH 11/22] entry.c: optionally checkout submodules, Shawn O. Pearce, (Thu May 24, 12:18 am)
Re: [RFC] Fourth round of support for cloning submodules, Sven Verdoolaege, (Thu May 24, 12:22 am)
Re: [RFC] Fourth round of support for cloning submodules, Sven Verdoolaege, (Thu May 24, 12:24 am)
Re: [PATCH 11/22] entry.c: optionally checkout submodules, Sven Verdoolaege, (Thu May 24, 12:27 am)
Re: [RFC] Fourth round of support for cloning submodules, Shawn O. Pearce, (Thu May 24, 12:29 am)
Re: [RFC] Fourth round of support for cloning submodules, Sven Verdoolaege, (Thu May 24, 12:36 am)
Re: [RFC] Fourth round of support for cloning submodules, Johannes Schindelin, (Thu May 24, 2:35 am)
Re: [RFC] Fourth round of support for cloning submodules, Johannes Schindelin, (Thu May 24, 2:41 am)
Re: [RFC] Fourth round of support for cloning submodules, Sven Verdoolaege, (Thu May 24, 3:51 am)
Re: [RFC] Fourth round of support for cloning submodules, Sven Verdoolaege, (Thu May 24, 3:54 am)
Re: [RFC] Fourth round of support for cloning submodules, Johannes Schindelin, (Thu May 24, 4:02 am)
Re: [RFC] Fourth round of support for cloning submodules, Sven Verdoolaege, (Thu May 24, 4:16 am)
Re: [RFC] Fourth round of support for cloning submodules, Johannes Schindelin, (Thu May 24, 4:31 am)
Re: [RFC] Fourth round of support for cloning submodules, Sven Verdoolaege, (Thu May 24, 4:43 am)
Re: [RFC] Fourth round of support for cloning submodules, Johannes Schindelin, (Thu May 24, 5:16 am)
Re: [RFC] Fourth round of support for cloning submodules, Sven Verdoolaege, (Thu May 24, 5:39 am)
Re: [RFC] Fourth round of support for cloning submodules, Sven Verdoolaege, (Thu May 24, 6:11 am)
Re: [RFC] Fourth round of support for cloning submodules, Johannes Schindelin, (Thu May 24, 6:13 am)
Re: [RFC] Fourth round of support for cloning submodules, Johannes Schindelin, (Thu May 24, 6:17 am)
Re: [RFC] Fourth round of support for cloning submodules, Sven Verdoolaege, (Thu May 24, 6:24 am)
Re: [RFC] Fourth round of support for cloning submodules, Johannes Schindelin, (Thu May 24, 6:52 am)
Re: [RFC] Fourth round of support for cloning submodules, Junio C Hamano, (Thu May 24, 10:13 am)
Re: [RFC] Fourth round of support for cloning submodules, Sven Verdoolaege, (Thu May 24, 10:38 am)
Re: [RFC] Fourth round of support for cloning submodules, Linus Torvalds, (Thu May 24, 10:40 am)
Re: [RFC] Fourth round of support for cloning submodules, Sven Verdoolaege, (Thu May 24, 10:42 am)
Re: [RFC] Fourth round of support for cloning submodules, Sven Verdoolaege, (Thu May 24, 10:55 am)
Re: [RFC] Fourth round of support for cloning submodules, Johannes Schindelin, (Thu May 24, 11:07 am)
Re: [RFC] Fourth round of support for cloning submodules, Linus Torvalds, (Thu May 24, 11:09 am)
Re: [RFC] Fourth round of support for cloning submodules, Johannes Schindelin, (Thu May 24, 11:11 am)
Re: [RFC] Fourth round of support for cloning submodules, Junio C Hamano, (Thu May 24, 11:38 am)
Re: [RFC] Fourth round of support for cloning submodules, Junio C Hamano, (Thu May 24, 11:45 am)
Re: [RFC] Fourth round of support for cloning submodules, Johannes Schindelin, (Thu May 24, 12:25 pm)
Re: [PATCH 11/22] entry.c: optionally checkout submodules, Shawn O. Pearce, (Thu May 24, 5:49 pm)
Re: [RFC] Fourth round of support for cloning submodules, Sven Verdoolaege, (Fri May 25, 3:00 am)
Re: [RFC] Fourth round of support for cloning submodules, Josef Weidendorfer, (Fri May 25, 5:27 am)
Re: [RFC] Fourth round of support for cloning submodules, Johannes Schindelin, (Fri May 25, 5:44 am)
Re: [RFC] Fourth round of support for cloning submodules, Josef Weidendorfer, (Fri May 25, 6:59 am)
Re: [RFC] Fourth round of support for cloning submodules, Johannes Schindelin, (Fri May 25, 7:16 am)
Re: [RFC] Fourth round of support for cloning submodules, Sven Verdoolaege, (Fri May 25, 7:38 am)
Re: [RFC] Fourth round of support for cloning submodules, Johannes Schindelin, (Fri May 25, 7:51 am)
Re: [RFC] Fourth round of support for cloning submodules, Josef Weidendorfer, (Fri May 25, 7:51 am)
Re: [RFC] Fourth round of support for cloning submodules, Johannes Schindelin, (Fri May 25, 7:54 am)
Re: [RFC] Fourth round of support for cloning submodules, Linus Torvalds, (Fri May 25, 8:35 am)
Re: [RFC] Fourth round of support for cloning submodules, Junio C Hamano, (Fri May 25, 9:16 am)
Re: [RFC] Fourth round of support for cloning submodules, Josef Weidendorfer, (Fri May 25, 9:23 am)
Re: [RFC] Fourth round of support for cloning submodules, Sven Verdoolaege, (Fri May 25, 9:28 am)
Re: [RFC] Fourth round of support for cloning submodules, Johannes Schindelin, (Fri May 25, 9:37 am)
Re: [RFC] Fourth round of support for cloning submodules, Johannes Schindelin, (Fri May 25, 9:43 am)
Re: [RFC] Fourth round of support for cloning submodules, Josef Weidendorfer, (Fri May 25, 10:09 am)
Re: [RFC] Fourth round of support for cloning submodules, Sven Verdoolaege, (Sun May 27, 1:40 pm)