git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Aguilar <davvid@gmail.com>
To: Jon Loeliger <jdl@freescale.com>
Cc: Git Mailing List <git@vger.kernel.org>
Subject: Re: Superproject branch tracking?
Date: Wed, 21 Jan 2009 15:25:03 -0800	[thread overview]
Message-ID: <402731c90901211525i2db339a6t94a4478268dfcf1a@mail.gmail.com> (raw)
In-Reply-To: <49779220.5000900@freescale.com>

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

      reply	other threads:[~2009-01-21 23:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-21 21:22 Superproject branch tracking? Jon Loeliger
2009-01-21 23:25 ` David Aguilar [this message]

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=402731c90901211525i2db339a6t94a4478268dfcf1a@mail.gmail.com \
    --to=davvid@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=jdl@freescale.com \
    /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).