git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Super module pointing to submodule branch instead of a specific commit?
@ 2008-10-15 21:16 skillzero
  2008-10-15 21:57 ` Avery Pennarun
  0 siblings, 1 reply; 2+ messages in thread
From: skillzero @ 2008-10-15 21:16 UTC (permalink / raw)
  To: git

Is there a way to have a super module point to a branch of a submodule
instead of a specific commit ID? I have a repository of common code
I'd like to use with a several different projects (each project has a
repository of its own). I want those super repositories to reference
the "stable" branch of this shared repository so that whenever they
pull one of these super modules, they get any changes made to stable
branch of the shared repository. When creating a tag of the super
module, I still want it to tag based on the commit ID of the submodule
(like I think it does today).

>From what I can tell, I seem to have to commit to the submodule then
commit the new commit ID of the submodule to every super module it is
a member of. That's somewhat tedious, but the larger problem is that
not all everyone with commit access to the submodule will has access
to all the super modules (they may not even know they exist).

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

* Re: Super module pointing to submodule branch instead of a specific commit?
  2008-10-15 21:16 Super module pointing to submodule branch instead of a specific commit? skillzero
@ 2008-10-15 21:57 ` Avery Pennarun
  0 siblings, 0 replies; 2+ messages in thread
From: Avery Pennarun @ 2008-10-15 21:57 UTC (permalink / raw)
  To: skillzero; +Cc: git

On Wed, Oct 15, 2008 at 5:16 PM,  <skillzero@gmail.com> wrote:
> Is there a way to have a super module point to a branch of a submodule
> instead of a specific commit ID?

In some sense, this is too simple to be supported by git-submodule.
You might want to try the "ext" tool instead:
http://nopugs.com/2008/09/06/ext-tutorial

Have fun,

Avery

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

end of thread, other threads:[~2008-10-15 21:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-15 21:16 Super module pointing to submodule branch instead of a specific commit? skillzero
2008-10-15 21:57 ` Avery Pennarun

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