From: Yann Dirson <ydirson@altern.org>
To: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Cc: Matthias Urlichs <smurf@smurf.noris.de>, git@vger.kernel.org
Subject: Re: [RFC] Applying a graft to a tree and "rippling" the changes through
Date: Sun, 20 Nov 2005 23:32:49 +0100 [thread overview]
Message-ID: <20051120223249.GI3393@nowhere.earth> (raw)
In-Reply-To: <Pine.LNX.4.63.0511200217200.11653@wbgn013.biozentrum.uni-wuerzburg.de>
On Sun, Nov 20, 2005 at 02:24:53AM +0100, Johannes Schindelin wrote:
> Hi,
>
> On Sat, 19 Nov 2005, Matthias Urlichs wrote:
>
> > [...] What can you do with such a thing that you cannot do now, just as
> > easily, besides slow down your programs with an unnecessary level of
> > indirection?
>
> I tend to agree. In fact, if I would like to introduce earlier history
> (for the sake of archeology or whatever), I would import the earlier
> history into git, possibly finding the best match in the current
> development branch (for example, when the original project continued for a
> while to be tracked in CVS), and then make a merge between these two.
>
> Then, I'd merge the new development's HEAD, and it would be fine:
>
> ORIG1 .. ORIG2 .. .. ORIG_HEAD
> |
> | GIT1 .. GIT2 .. .. GIT_HEAD
> | / /
> | / /
> UNIFYING_MERGE /
> \ /
> \ /
> NEW_HEAD_FOR_ARCHEOLOGICAL_PURPOSES
>
> Where ORIG_HEAD's tree is identical with GIT1's tree. The resulting branch
> would serve every research purpose I can think of (just be sure not to
> use "-m" with git-whatchanged).
Note: it's not only about research (ie. something that would be static
for browsing only), it's also about using the results of the research
in further developement.
Well, no doubt this approach can be used in many cases. But it makes
IMHO the history somewhat confusing, and has limitations. Let's say I
had a patch against ORIG2, and at a later date I find a successor for
it, based on GIT2. I would not have an incarnation of GIT2 with ORIG2
as ancestor: to be on the safe side I would have had to duplicate the
whole GIT1..* history.
And after I have done some work on my branch of duplicate commits, if
I used the type of unifying merges you suggest, I'm stuck forever with
the old GIT1..GIT_HEAD line, whether I need it or not (if it comes
from import of 2.4 patches, and thus has no signed tags whatsoever, I
do not need it any more).
Best regards,
--
Yann Dirson <ydirson@altern.org> |
Debian-related: <dirson@debian.org> | Support Debian GNU/Linux:
| Freedom, Power, Stability, Gratis
http://ydirson.free.fr/ | Check <http://www.debian.org/>
next prev parent reply other threads:[~2005-11-20 22:31 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-17 23:07 [RFC] Applying a graft to a tree and "rippling" the changes through Yann Dirson
2005-11-17 23:28 ` Johannes Schindelin
2005-11-19 14:04 ` Yann Dirson
2005-11-19 14:13 ` Yann Dirson
2005-11-19 15:27 ` Johannes Schindelin
2005-11-19 17:09 ` Yann Dirson
2005-11-19 17:23 ` Matthias Urlichs
2005-11-20 1:24 ` Johannes Schindelin
2005-11-20 7:32 ` Matthias Urlichs
2005-11-20 11:44 ` Johannes Schindelin
2005-11-20 22:35 ` Yann Dirson
2005-11-23 3:29 ` Paul Mackerras
2005-11-23 7:27 ` Matthias Urlichs
2005-11-23 17:14 ` Linus Torvalds
2005-11-20 22:32 ` Yann Dirson [this message]
2005-11-20 23:46 ` Johannes Schindelin
2005-11-21 2:24 ` Matthias Urlichs
2005-11-21 5:18 ` Ryan Anderson
2005-11-21 22:30 ` Yann Dirson
2005-11-18 13:57 ` sf
2005-11-18 17:25 ` Linus Torvalds
2005-11-19 0:49 ` Junio C Hamano
2005-11-19 1:07 ` Linus Torvalds
2005-11-19 1:21 ` Junio C Hamano
2005-11-19 1:29 ` Linus Torvalds
2005-11-19 13:27 ` Yann Dirson
2005-11-19 1:38 ` Yann Dirson
2005-11-18 15:54 ` Josef Weidendorfer
2005-11-19 13:16 ` Yann Dirson
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=20051120223249.GI3393@nowhere.earth \
--to=ydirson@altern.org \
--cc=Johannes.Schindelin@gmx.de \
--cc=git@vger.kernel.org \
--cc=smurf@smurf.noris.de \
/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).