git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Very complex rebasing - Need help
@ 2006-09-08 13:27 Jehreg
  2006-09-08 13:43 ` Jakub Narebski
  0 siblings, 1 reply; 2+ messages in thread
From: Jehreg @ 2006-09-08 13:27 UTC (permalink / raw)
  To: git


So, I grabbed a tarball of the Buildroot project a year ago and started a git
repo, and created a branch and did changes:

initial---master
              \
                --o--o--o--o--myproject

A few months later, I grabbed another Buildroot tarball and I diffed it from
my master and applied it to master.

initial--o--(new tarball)--master
          \
           --o--o--o--o--myproject

Which I then merged into myproject and did some additional development.

initial--o--(new tarball)--o--master
          \                      \
           --o--o--o--o--o----o--o--o--o--myproject

My problem is that I would like to bring in the svn-into-git repo of the
Buildroot project.

initial--ID1--(new tarball)--ID2--master
          \                          \
           --o--o--o--o--o-----o--o--o--o--myproject
other repo of the Buildroot project:
initial--o--o--ID3--o--o--ID4--o--master

So, I can actually match ID1=ID3 and ID2= ID4.

I can use rebase to do this:

In the Buildroot repo:
initial--o--o--ID3--o--o--ID4--o--master
                  \
                   --o--o--o--o--o--o--o--o--myproject

My problem is that I need to kinda-rebase the ID4 into the myproject branch
to make it finally look like this:

initial--o--o--ID3--o--o--ID4--o--master
                  \               \
                   --o--o--o--o--o--o--o--o--myproject


Any ideas ?

-- 
View this message in context: http://www.nabble.com/Very-complex-rebasing---Need-help-tf2239083.html#a6208897
Sent from the git forum at Nabble.com.

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

* Re: Very complex rebasing - Need help
  2006-09-08 13:27 Very complex rebasing - Need help Jehreg
@ 2006-09-08 13:43 ` Jakub Narebski
  0 siblings, 0 replies; 2+ messages in thread
From: Jakub Narebski @ 2006-09-08 13:43 UTC (permalink / raw)
  To: git

Jehreg wrote:

> In the Buildroot repo:
> initial--o--o--ID3--o--o--ID4--o--master
>                   \
>                    --o--o--o--o--o--o--o--o--myproject
> 
> My problem is that I need to kinda-rebase the ID4 into the myproject
branch
> to make it finally look like this:
> 
> initial--o--o--ID3--o--o--ID4--o--master
>                   \               \
>                    --o--o--o--o--o--x--o--o--myproject
> 
> 
> Any ideas ?

Grafts? Grafting additional parent to commit x.

-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git

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

end of thread, other threads:[~2006-09-08 13:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-08 13:27 Very complex rebasing - Need help Jehreg
2006-09-08 13:43 ` Jakub Narebski

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