git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Submodules can't work recursively because Git implements policy?
@ 2009-04-06 13:42 Klas Lindberg
  2009-04-06 13:56 ` Finn Arne Gangstad
  0 siblings, 1 reply; 5+ messages in thread
From: Klas Lindberg @ 2009-04-06 13:42 UTC (permalink / raw)
  To: Finn Arne Gangstad; +Cc: Matthieu Moy, Johannes Schindelin, Git Users List

On Mon, Apr 6, 2009 at 3:16 PM, Finn Arne Gangstad <finnag@pvv.org> wrote:

> git submodule update just does "git fetch" and hopes that the required
> commit appears. In practice this means that you (may) need to invent a
> tag or a branch for all the submodules, otherwise they are not
> fetchable.
>
> This bit us pretty hard when we tried to use submodules earlier, so we
> gave up. Maybe some day...

It "hopes" to find them? This is actually my other reason for bringing
the whole SHA key fetching thing up. From what I can see, it is not
possible to implement submodules sensibly without support for fetching
SHA keys. I.e. I want fetch, checkout and every other command to
recurse as needed in the presence of submodules. This limitation
forces me to implement a whole CM tool where none should be necessary.

It appears to me that the security concern (being able to hide commits
by making them unreachable from a named reference) is actually a
policy decision and not a technical one. On what grounds does Git
decide for me how to handle security concerns? It just seems more
important to be able to have recursive submodule behaviour than to
provide band aid for careless users.

Out of curiosity: Is it really possible to change the value of an
already pushed tag? Can you only do the hiding trick with branches?

BR / Klas

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-04-06 16:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-06 13:42 Submodules can't work recursively because Git implements policy? Klas Lindberg
2009-04-06 13:56 ` Finn Arne Gangstad
2009-04-06 14:47   ` Klas Lindberg
2009-04-06 14:51     ` Shawn O. Pearce
2009-04-06 16:29       ` Klas Lindberg

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).