git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Superproject branch tracking?
@ 2009-01-21 21:22 Jon Loeliger
  2009-01-21 23:25 ` David Aguilar
  0 siblings, 1 reply; 2+ messages in thread
From: Jon Loeliger @ 2009-01-21 21:22 UTC (permalink / raw)
  To: Git Mailing List

Guys,

Can someone tell me what the current best practice
to have a Git supermodule maintain a branch that is
actively tracking a similarly named branch in all of
the submodules?

That is, I want have a scenario where I would like
the master branch of a super-project to always (or on
demand) reflect the current HEAD of the master branch
in each of the submodules.

Does anyone have a script up their sleeve that I can
use as a hook in the super to notice updates to a submodule
and cause it to scurry around the sub-modules and create
a new (updated) commit in the super?

Thanks,
jdl

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

* Re: Superproject branch tracking?
  2009-01-21 21:22 Superproject branch tracking? Jon Loeliger
@ 2009-01-21 23:25 ` David Aguilar
  0 siblings, 0 replies; 2+ messages in thread
From: David Aguilar @ 2009-01-21 23:25 UTC (permalink / raw)
  To: Jon Loeliger; +Cc: Git Mailing List

On Wed, Jan 21, 2009 at 1:22 PM, Jon Loeliger <jdl@freescale.com> wrote:
> Guys,
>
> Can someone tell me what the current best practice
> to have a Git supermodule maintain a branch that is
> actively tracking a similarly named branch in all of
> the submodules?
>
> That is, I want have a scenario where I would like
> the master branch of a super-project to always (or on
> demand) reflect the current HEAD of the master branch
> in each of the submodules.
>
> Does anyone have a script up their sleeve that I can
> use as a hook in the super to notice updates to a submodule
> and cause it to scurry around the sub-modules and create
> a new (updated) commit in the super?
>
> Thanks,
> jdl
>

Hello

Have you seen Shawn's repo tool?

    http://kerneltrap.org/mailarchive/git/2008/10/22/3763214

It might not do *exactly* what you're looking for, but it is magical.

There's also a repo-discuss google group where repo-specific questions
can be addressed.


-- 
    David

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

end of thread, other threads:[~2009-01-21 23:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-21 21:22 Superproject branch tracking? Jon Loeliger
2009-01-21 23:25 ` David Aguilar

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