Problem with wireless-2.6
John,
I did the following set of steps:
git clone --reference ~/linux-2.6 \git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6.git junk
cd junk
git checkout -b everything origin/everything
git pull
Warning: No merge candidate found because value of config option
"branch.everything.merge" does not match any remote branch fetched.
No changes.
I know that when I get the above warning, my branch "everything" is never updated. My previous wireless-2.6 tree was stuck at 2.6.23-rc9, whereas "git describe" lists the new tree at v2.6.24-rc1-155-g792296c.
What am I doing wrong?
Larry
Quoted 14 lines · Larry Finger
John,
I did the following set of steps:
git clone --reference ~/linux-2.6 \
git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6.gitjunkcd junk
git checkout -b everything origin/everything
git pull
Warning: No merge candidate found because value of config option
"branch.everything.merge" does not match any remote branch fetched.
No changes.
Quoted 5 lines
I know that when I get the above warning, my branch "everything" is never updated. My previous wireless-2.6 tree was stuck at 2.6.23-rc9, whereas "git describe" lists the new tree at v2.6.24-rc1-155-g792296c.
What am I doing wrong?
I am not sure if you can 'pull' from a branch, I think have to pull from the master and then rebase on the brancehs:
git-checkout master
git-pull
git-checkout junk
git-rebase origin/everything
Luis
Quoted 4 lines · Larry Finger
I did the following set of steps:
git clone --reference ~/linux-2.6 \
git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6.g=
it junk
Quoted 6 lines
cd junk
git checkout -b everything origin/everything
git pull
Warning: No merge candidate found because value of config option
"branch.everything.merge" does not match any remote branch f=
etched.
Quoted 1 line
No changes.
What do you get from `git remote show origin'?
Andreas.
--=20
Andreas Schwab, SuSE Labs, [email protected]
SuSE Linux Products GmbH, Maxfeldstra=DFe 5, 90409 N=FCrnberg, Germany PGP key fingerprint =3D 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4= ED5
"And now for something completely different."
-
To unsubscribe from this list: send the line "unsubscribe linux-wireles= s" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 2 lines · John W. Linville
Well, I'm not sure. What is the purpose of your 'git pull'?
To get the latest everything branch.
Quoted 11 lines
What is the head commit on your everything branch? At present, it should be:
commit 792296c80171081ab1eeb59a206aed651a27fcb0 Merge: 0119130... 286c21f... Author: John W. Linville <[email protected]> Date: Fri Nov 2 17:14:55 2007 -0400 Merge branch 'ath5k' into everythingFWIW, 'git describe' on my everything branch also returns v2.6.24-rc1-155-g792296c. What makes you think this is wrong?
That was after I repulled the entire tree. Before it was at 2.6.23-rc9.
Quoted 1 line
From other comments, I think I needed a git rebase command.
Larry
Quoted 1 line · Larry Finger
Quoted 1 line
From other comments, I think I needed a git rebase command.
I don't think so. Do you have set branch.autosetupmerge to false?
Andreas.
--=20
Andreas Schwab, SuSE Labs, [email protected]
SuSE Linux Products GmbH, Maxfeldstra=DFe 5, 90409 N=FCrnberg, Germany PGP key fingerprint =3D 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4= ED5
"And now for something completely different."
-
To unsubscribe from this list: send the line "unsubscribe linux-wireles= s" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Hello, Larry!
Quoted 7 lines · Larry Finger
John,
I did the following set of steps:
git clone --reference ~/linux-2.6 \
git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6.gitjunk
Quoted 6 lines
cd junk
git checkout -b everything origin/everything
git pull
Warning: No merge candidate found because value of config option
"branch.everything.merge" does not match any remote branch fetched.
No changes.
Just add "--track" to the git-checkout command, and it will be fine:
[proski@dv junk]$ git checkout --track -b everything origin/everything Branch everything set up to track remote branch refs/remotes/origin/everything. Switched to a new branch "everything"
[proski@dv junk]$ git-pull
Already up-to-date.
[proski@dv junk]$
Or better yet, add this to ~/.gitconfig:
[branch]
autosetupmerge = true
This would be equivalent to using "--track" by default. Please make sure you have a recent version of git, as --track appeared first in git-1.5.1.
Signature · 2 lines
Regards, Pavel Roskin
Quoted 10 lines · Pavel Roskin
Just add "--track" to the git-checkout command, and it will be fine:
[proski@dv junk]$ git checkout --track -b everything origin/everything Branch everything set up to track remote branch refs/remotes/origin/everything. Switched to a new branch "everything"
[proski@dv junk]$ git-pull
Already up-to-date.
[proski@dv junk]$
Quoted 9 lines
Or better yet, add this to ~/.gitconfig:
[branch]
autosetupmerge = trueThis would be equivalent to using "--track" by default. Please make sure you have a recent version of git, as --track appeared first in git-1.5.1.
Pavel,
Thanks. I deleted the everything branch and recreated it with --track, and all is good.
Larry