From: "Dirk Süsserott" <newsletter@dirk.my1.cc>
To: Pieter de Bie <pdebie@ai.rug.nl>, git@vger.kernel.org
Subject: Re: Maintaining two branches.
Date: Tue, 03 Jun 2008 20:41:45 +0200 [thread overview]
Message-ID: <48459069.7090404@dirk.my1.cc> (raw)
In-Reply-To: <20080603181731.GB11735@old.davidb.org>
David Brown schrieb:
> On Tue, Jun 03, 2008 at 08:08:09PM +0200, Pieter de Bie wrote:
>
>> You might do the same workflow that Git has with stable / master / next
>>
>> If there is a new upstream release, merge it into external. If you
>> have patches you want to show to the outside, apply those patches to
>> external. Then you can merge external into local. The trick is to
>> never merge local into external.
>>
>> By going only one way (upstream --> external --> local), you'll never
>> have to worry about having to separate the different patches. Your
>> history will be displayed much nicer too.
>
> I guess I didn't explain our dilema very well. We _have_ to separate the
> different patches, for legal reasons. Perhaps 'external' isn't a good
> name
> for the branch, maybe it should be 'other'. Basically, the 'upstream'
> branch is the real upstream tree. The 'external' or 'other' branch
> contains patches from outside our company. We are forbidden from
> redistributing these changes, and will be having our customers get them
> from the same source that we do. Then our 'local' branch is where we do
> our development.
For my understanding: does your 'other' branch contain only a 3rd party
library that you (or the 3rd party people) did patch for your purpose
and you're not allowed to distribute that patched 3rd party lib? What
about using a git submodule for the 3rd party thing. The submodule
contains the patched library (for your development) and the customer
is then told to supply the genuine library (from the internet) and then
apply your patches to it. Would that help you? Probably I missed
some legal issues here...
-- Dirk
next prev parent reply other threads:[~2008-06-03 18:42 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-03 16:34 Maintaining two branches David Brown
2008-06-03 18:02 ` Stephan Beyer
2008-06-03 18:13 ` David Brown
2008-06-03 18:08 ` Pieter de Bie
2008-06-03 18:17 ` David Brown
2008-06-03 18:41 ` Dirk Süsserott [this message]
2008-06-03 19:09 ` Junio C Hamano
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=48459069.7090404@dirk.my1.cc \
--to=newsletter@dirk.my1.cc \
--cc=git@vger.kernel.org \
--cc=pdebie@ai.rug.nl \
/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).