net-2.6.25 being rebased...
Subsystems (2)
David Miller
maintainerI 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.
David Miller
maintainerFrom: David Miller <[email protected]>
Date: Tue, 11 Dec 2007 09:26:38 -0800 (PST)
Quoted 4 lines
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.
Quoted 1 line · David Miller
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.
David Miller
maintainerFrom: Joe Perches <[email protected]>
Date: Tue, 11 Dec 2007 13:04:59 -0800
Quoted 7 lines · David Miller
Quoted 1 line
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?
Quoted 5 lines
$ 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
Em Tue, Dec 11, 2007 at 01:04:59PM -0800, Joe Perches escreveu:
Quoted 7 lines · David Miller
Quoted 1 line
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?
Quoted 5 lines
$ 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
Quoted 1 line · Arnaldo Carvalho de Melo
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.
Quoted 15 lines · David Miller
From: Joe Perches <[email protected]>
Date: Tue, 11 Dec 2007 13:04:59 -0800Quoted 11 lines · David Miller
Quoted 1 line
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.
Quoted 6 lines
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 pullgit://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
Joe Perches <[email protected]> :
[...]
Quoted 9 lines
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.
Signature · 1 line
Ueimor
Francois Romieu <[email protected]> :
[...]
Quoted 2 lines
[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.
Signature · 1 line
Ueimor