From: Junio C Hamano <gitster@pobox.com>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: David Kastrup <dak@gnu.org>, git@vger.kernel.org
Subject: Re: How do I manage this setup with git-svn and/or git remotes?
Date: Fri, 17 Aug 2007 14:18:38 -0700 [thread overview]
Message-ID: <7vvebdg8r5.fsf@gitster.siamese.dyndns.org> (raw)
In-Reply-To: <alpine.LFD.0.999.0708171142510.30176@woody.linux-foundation.org> (Linus Torvalds's message of "Fri, 17 Aug 2007 11:53:06 -0700 (PDT)")
Linus Torvalds <torvalds@linux-foundation.org> writes:
> On Fri, 17 Aug 2007, David Kastrup wrote:
>>
>> But it isn't an independent git project: the superproject has its
>> _own_ copy of dsp, with its _own_ specific commits and fixes that are
>> not supposed to ever end up in the dsp "mothership".
>
> Sure. And that's different from any git "branch" exactly how?
>
> So you'd have different branches in the superproject - the way you always
> have when you have two copies of a git project. And then you merge between
> the two at will.
My reading of the project David is talking about is that its dsp
project which is a "subproject" part gets non generic commits
within the context of the superproject --- which means (1) you
would have branches in the subproject not superproject, and (2)
once you did that, the subproject is not really a subproject
anymore, as you cannot merge that back to the standalone dsp
project without dragging the non-generic bits along with it.
> There's a special "subtree" merge that does exactly that: it basically is
> the normal recursive merge, except it merges into a subtree. I think
> that's how Junio does the "git-gui" merges. Junio?
Yes. It has exactly the same semantics and limitations with the
gitk merge, but just merges into a sub directory. Shawn cannot
easily pull the changes done inside git.git repository back to
git-gui.git proper.
next prev parent reply other threads:[~2007-08-17 21:18 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-17 17:24 How do I manage this setup with git-svn and/or git remotes? David Kastrup
2007-08-17 17:56 ` Linus Torvalds
2007-08-17 18:26 ` David Kastrup
2007-08-17 18:53 ` Linus Torvalds
2007-08-17 21:04 ` David Kastrup
2007-08-17 21:18 ` Junio C Hamano [this message]
2007-08-17 21:32 ` David Kastrup
2007-08-18 7:07 ` David Kastrup
2007-08-18 23:37 ` Jakub Narebski
2007-08-19 16:04 ` David Kastrup
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=7vvebdg8r5.fsf@gitster.siamese.dyndns.org \
--to=gitster@pobox.com \
--cc=dak@gnu.org \
--cc=git@vger.kernel.org \
--cc=torvalds@linux-foundation.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.