netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* net-2.6.25 being rebased...
@ 2007-12-11 17:26 David Miller
  2007-12-11 19:56 ` David Miller
  0 siblings, 1 reply; 9+ messages in thread
From: David Miller @ 2007-12-11 17:26 UTC (permalink / raw)
  To: netdev


I want to work out all the conflicts now that Linus has pulled
in my most recent batch of fixes.

I hope to have it done in the next hour or so.

Thanks.

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

* Re: net-2.6.25 being rebased...
  2007-12-11 17:26 net-2.6.25 being rebased David Miller
@ 2007-12-11 19:56 ` David Miller
  2007-12-11 21:04   ` Joe Perches
  0 siblings, 1 reply; 9+ messages in thread
From: David Miller @ 2007-12-11 19:56 UTC (permalink / raw)
  To: netdev

From: David Miller <davem@davemloft.net>
Date: Tue, 11 Dec 2007 09:26:38 -0800 (PST)

> I want to work out all the conflicts now that Linus has pulled
> in my most recent batch of fixes.
> 
> I hope to have it done in the next hour or so.

The rebase of net-2.6.25 is complete, sorry for taking
so long.

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

* Re: net-2.6.25 being rebased...
  2007-12-11 19:56 ` David Miller
@ 2007-12-11 21:04   ` Joe Perches
  2007-12-11 21:08     ` David Miller
                       ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Joe Perches @ 2007-12-11 21:04 UTC (permalink / raw)
  To: David Miller; +Cc: netdev

On Tue, 2007-12-11 at 11:56 -0800, David Miller wrote:
> The rebase of net-2.6.25 is complete

I have an earlier unmodified git repository of net-2.6.25.
Does anyone know the appropriate git commands to resync
to the rebased content?

$ git branch
* master
$ git-pull
[...]
Automatic merge failed; fix conflicts and then commit the result.



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

* Re: net-2.6.25 being rebased...
  2007-12-11 21:04   ` Joe Perches
@ 2007-12-11 21:08     ` David Miller
  2007-12-11 21:31       ` Kok, Auke
  2007-12-11 21:09     ` Arnaldo Carvalho de Melo
  2007-12-11 21:35     ` Francois Romieu
  2 siblings, 1 reply; 9+ messages in thread
From: David Miller @ 2007-12-11 21:08 UTC (permalink / raw)
  To: joe; +Cc: netdev

From: Joe Perches <joe@perches.com>
Date: Tue, 11 Dec 2007 13:04:59 -0800

> On Tue, 2007-12-11 at 11:56 -0800, David Miller wrote:
> > The rebase of net-2.6.25 is complete
> 
> I have an earlier unmodified git repository of net-2.6.25.
> Does anyone know the appropriate git commands to resync
> to the rebased content?
> 
> $ git branch
> * master
> $ git-pull
> [...]
> Automatic merge failed; fix conflicts and then commit the result.

Easiest thing to do is do a quick local clone of Linus's current tree
(you do have one of these around right? :-) and then pull in from the
rebased tree.

bash$ git clone linux-2.6/.git net-2.6.25
bash$ git pull git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6.25.git

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

* Re: net-2.6.25 being rebased...
  2007-12-11 21:04   ` Joe Perches
  2007-12-11 21:08     ` David Miller
@ 2007-12-11 21:09     ` Arnaldo Carvalho de Melo
  2007-12-11 21:23       ` Joe Perches
  2007-12-11 21:35     ` Francois Romieu
  2 siblings, 1 reply; 9+ messages in thread
From: Arnaldo Carvalho de Melo @ 2007-12-11 21:09 UTC (permalink / raw)
  To: Joe Perches; +Cc: David Miller, netdev

Em Tue, Dec 11, 2007 at 01:04:59PM -0800, Joe Perches escreveu:
> On Tue, 2007-12-11 at 11:56 -0800, David Miller wrote:
> > The rebase of net-2.6.25 is complete
> 
> I have an earlier unmodified git repository of net-2.6.25.
> Does anyone know the appropriate git commands to resync
> to the rebased content?
> 
> $ git branch
> * master
> $ git-pull
> [...]
> Automatic merge failed; fix conflicts and then commit the result.

rm -rf net-2.6.25
git-clone --reference linux-2.6 git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6.25

Assuming you have linux-2.6 cloned from Linus.

Dave may have removed patches, combined some, whatever, so I just do the
above procedure when I don't have any pending csets on my local
net-2.6.25 tree.

- Arnaldo

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

* Re: net-2.6.25 being rebased...
  2007-12-11 21:09     ` Arnaldo Carvalho de Melo
@ 2007-12-11 21:23       ` Joe Perches
  0 siblings, 0 replies; 9+ messages in thread
From: Joe Perches @ 2007-12-11 21:23 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo; +Cc: David Miller, netdev

On Tue, 2007-12-11 at 19:09 -0200, Arnaldo Carvalho de Melo wrote:
> git-clone --reference linux-2.6 git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6.25

That works well. Just ~3MB in objects downloaded. Thanks.


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

* Re: net-2.6.25 being rebased...
  2007-12-11 21:08     ` David Miller
@ 2007-12-11 21:31       ` Kok, Auke
  0 siblings, 0 replies; 9+ messages in thread
From: Kok, Auke @ 2007-12-11 21:31 UTC (permalink / raw)
  To: joe; +Cc: David Miller, netdev

David Miller wrote:
> From: Joe Perches <joe@perches.com>
> Date: Tue, 11 Dec 2007 13:04:59 -0800
> 
>> On Tue, 2007-12-11 at 11:56 -0800, David Miller wrote:
>>> The rebase of net-2.6.25 is complete
>> I have an earlier unmodified git repository of net-2.6.25.
>> Does anyone know the appropriate git commands to resync
>> to the rebased content?
>>
>> $ git branch
>> * master
>> $ git-pull
>> [...]
>> Automatic merge failed; fix conflicts and then commit the result.
> 
> Easiest thing to do is do a quick local clone of Linus's current tree
> (you do have one of these around right? :-) and then pull in from the
> rebased tree.
> 
> bash$ git clone linux-2.6/.git net-2.6.25
> bash$ git pull git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6.25.git

I often have success without recloning by doing:

$ git-reset --hard v2.6.23
$ git pull git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6.25.git

saves you the time to reclone. As long as you reset below the rebase point, this
should be OK.

Auke

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

* Re: net-2.6.25 being rebased...
  2007-12-11 21:04   ` Joe Perches
  2007-12-11 21:08     ` David Miller
  2007-12-11 21:09     ` Arnaldo Carvalho de Melo
@ 2007-12-11 21:35     ` Francois Romieu
  2007-12-11 21:49       ` Francois Romieu
  2 siblings, 1 reply; 9+ messages in thread
From: Francois Romieu @ 2007-12-11 21:35 UTC (permalink / raw)
  To: Joe Perches; +Cc: David Miller, netdev

Joe Perches <joe@perches.com> :
[...]
> I have an earlier unmodified git repository of net-2.6.25.
> Does anyone know the appropriate git commands to resync
> to the rebased content?
> 
> $ git branch
> * master
> $ git-pull
> [...]
> Automatic merge failed; fix conflicts and then commit the result.

Assuming taht you initially cloned from davem's repo, your .git/config
could contain something along the lines of:

 [remote "origin"]
         url = git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6.git
         fetch = +refs/heads/*:refs/remotes/origin/*

(the "+" will update even non fast-forwarding branches)

Then:

$ git fetch origin
$ git fetch -u remotes/origin/master:master

You may then reset --hard to wipe out any leftover file.

If you cloned from somewhere else, replace "origin" with the label of
your choice to automate the process.

-- 
Ueimor

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

* Re: net-2.6.25 being rebased...
  2007-12-11 21:35     ` Francois Romieu
@ 2007-12-11 21:49       ` Francois Romieu
  0 siblings, 0 replies; 9+ messages in thread
From: Francois Romieu @ 2007-12-11 21:49 UTC (permalink / raw)
  To: Joe Perches; +Cc: David Miller, netdev

Francois Romieu <romieu@fr.zoreil.com> :
[...]
>  [remote "origin"]
>          url = git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6.git
                                                                     ^^^^^^^
"net-2.6.25", sorry.

While reading the answers, I have the strange feeling that "remotes"
branches are not advertised a lot.

-- 
Ueimor

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

end of thread, other threads:[~2007-12-11 21:56 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-11 17:26 net-2.6.25 being rebased David Miller
2007-12-11 19:56 ` David Miller
2007-12-11 21:04   ` Joe Perches
2007-12-11 21:08     ` David Miller
2007-12-11 21:31       ` Kok, Auke
2007-12-11 21:09     ` Arnaldo Carvalho de Melo
2007-12-11 21:23       ` Joe Perches
2007-12-11 21:35     ` Francois Romieu
2007-12-11 21:49       ` Francois Romieu

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