linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Problem with wireless-2.6
@ 2007-11-05 17:49 Larry Finger
  2007-11-05 18:27 ` Luis R. Rodriguez
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Larry Finger @ 2007-11-05 17:49 UTC (permalink / raw)
  To: John Linville; +Cc: wireless

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


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

* Re: Problem with wireless-2.6
  2007-11-05 17:49 Problem with wireless-2.6 Larry Finger
@ 2007-11-05 18:27 ` Luis R. Rodriguez
  2007-11-05 18:40 ` Andreas Schwab
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 7+ messages in thread
From: Luis R. Rodriguez @ 2007-11-05 18:27 UTC (permalink / raw)
  To: Larry Finger; +Cc: John Linville, wireless

On 11/5/07, Larry Finger <Larry.Finger@lwfinger.net> wrote:
> 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?

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

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

* Re: Problem with wireless-2.6
  2007-11-05 17:49 Problem with wireless-2.6 Larry Finger
  2007-11-05 18:27 ` Luis R. Rodriguez
@ 2007-11-05 18:40 ` Andreas Schwab
       [not found] ` <20071105182825.GA3478@tuxdriver.com>
  2007-11-06  2:10 ` Pavel Roskin
  3 siblings, 0 replies; 7+ messages in thread
From: Andreas Schwab @ 2007-11-05 18:40 UTC (permalink / raw)
  To: Larry Finger; +Cc: John Linville, wireless

Larry Finger <Larry.Finger@lwfinger.net> writes:

> 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
>
> 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.
> No changes.

What do you get from `git remote show origin'?

Andreas.

--=20
Andreas Schwab, SuSE Labs, schwab@suse.de
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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: Problem with wireless-2.6
       [not found] ` <20071105182825.GA3478@tuxdriver.com>
@ 2007-11-05 21:05   ` Larry Finger
  2007-11-05 21:17     ` Andreas Schwab
  0 siblings, 1 reply; 7+ messages in thread
From: Larry Finger @ 2007-11-05 21:05 UTC (permalink / raw)
  To: John W. Linville; +Cc: wireless

John W. Linville wrote:
> 
> Well, I'm not sure.  What is the purpose of your 'git pull'? 

To get the latest everything branch.

> What is the head commit on your everything branch?  At present, it should be:
> 
> 	commit 792296c80171081ab1eeb59a206aed651a27fcb0
> 	Merge: 0119130... 286c21f...
> 	Author: John W. Linville <linville@tuxdriver.com>
> 	Date:   Fri Nov 2 17:14:55 2007 -0400
> 
> 	    Merge branch 'ath5k' into everything
> 
> FWIW, '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.

>From other comments, I think I needed a git rebase command.

Larry

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

* Re: Problem with wireless-2.6
  2007-11-05 21:05   ` Larry Finger
@ 2007-11-05 21:17     ` Andreas Schwab
  0 siblings, 0 replies; 7+ messages in thread
From: Andreas Schwab @ 2007-11-05 21:17 UTC (permalink / raw)
  To: Larry Finger; +Cc: John W. Linville, wireless

Larry Finger <larry.finger@lwfinger.net> writes:

>>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, schwab@suse.de
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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: Problem with wireless-2.6
  2007-11-05 17:49 Problem with wireless-2.6 Larry Finger
                   ` (2 preceding siblings ...)
       [not found] ` <20071105182825.GA3478@tuxdriver.com>
@ 2007-11-06  2:10 ` Pavel Roskin
  2007-11-06  3:45   ` Larry Finger
  3 siblings, 1 reply; 7+ messages in thread
From: Pavel Roskin @ 2007-11-06  2:10 UTC (permalink / raw)
  To: Larry Finger; +Cc: John Linville, wireless

Hello, Larry!

On Mon, 2007-11-05 at 11:49 -0600, Larry Finger wrote:
> 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.

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.

-- 
Regards,
Pavel Roskin


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

* Re: Problem with wireless-2.6
  2007-11-06  2:10 ` Pavel Roskin
@ 2007-11-06  3:45   ` Larry Finger
  0 siblings, 0 replies; 7+ messages in thread
From: Larry Finger @ 2007-11-06  3:45 UTC (permalink / raw)
  To: Pavel Roskin; +Cc: John Linville, wireless

Pavel Roskin wrote:
> 
> 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.
> 

Pavel,

Thanks. I deleted the everything branch and recreated it with --track, and all is good.

Larry

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

end of thread, other threads:[~2007-11-06  3:45 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-05 17:49 Problem with wireless-2.6 Larry Finger
2007-11-05 18:27 ` Luis R. Rodriguez
2007-11-05 18:40 ` Andreas Schwab
     [not found] ` <20071105182825.GA3478@tuxdriver.com>
2007-11-05 21:05   ` Larry Finger
2007-11-05 21:17     ` Andreas Schwab
2007-11-06  2:10 ` Pavel Roskin
2007-11-06  3:45   ` Larry Finger

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