Re: Aw: Re: Re: Re: [Bug report] 'git status' always says "Your branch is up-to-date with 'origin/master'"

2014-01-14 Thread Keshav Kini
The following message is a courtesy copy of an article that has been posted to gmane.comp.version-control.git as well. Junio C Hamano writes: > Thomas Ackermann writes: >>> > But for the simple use case where you only have a master >>> > branch I consider it not really helpful and - at least for

Re: Aw: Re: Re: Re: [Bug report] 'git status' always says "Your branch is up-to-date with 'origin/master'"

2014-01-06 Thread Junio C Hamano
Thomas Ackermann writes: > >> > But for the simple use case where you only have a master >> > branch I consider it not really helpful and - at least for me - >> > misleading. >> >> I see what you mean, and you're not the only one. >> >> Git follows a rule of "never contact another machine unl

Aw: Re: Re: Re: [Bug report] 'git status' always says "Your branch is up-to-date with 'origin/master'"

2014-01-06 Thread Thomas Ackermann
> > But for the simple use case where you only have a master > > branch I consider it not really helpful and - at least for me - > > misleading. > > I see what you mean, and you're not the only one. > > Git follows a rule of "never contact another machine unless explicitly > asked to using a co

Re: Re: Re: [Bug report] 'git status' always says "Your branch is up-to-date with 'origin/master'"

2014-01-06 Thread Jonathan Nieder
Hi, Thomas Ackermann wrote: >>In repo_b your ref for origin/master >> has not moved. It has remotely (meaning refs/heads/master in repo_a >> has moved), but git status is not hitting the remote to find out; it >> only looks at the local state. [...] > But for the s

Aw: Re: Re: [Bug report] 'git status' always says "Your branch is up-to-date with 'origin/master'"

2014-01-06 Thread Thomas Ackermann
> > Unfortunately that's not true. In repo_b your ref for origin/master > has not moved. It has remotely (meaning refs/heads/master in repo_a > has moved), but git status is not hitting the remote to find out; it > only looks at the local state. To see what I mean, run git fetch in > repo_b. Onc

Re: Re: [Bug report] 'git status' always says "Your branch is up-to-date with 'origin/master'"

2014-01-06 Thread Jiang Xin
2014/1/6 Thomas Ackermann : > > Hi Jiang, > > this happens with all of my repo clones (I am using V1.8.5.2 > on Windows and on Linux). Steps to reproduce: > > mkdir repo_a && cd repo_a && git init . > echo "1">foo && git add foo && git commit -m "1" > cd .. > git clone repo_a repo_b > cd repo_a > e

Re: Re: [Bug report] 'git status' always says "Your branch is up-to-date with 'origin/master'"

2014-01-06 Thread Bryan Turner
It has remotely (meaning refs/heads/master in repo_a has moved), but git status is not hitting the remote to find out; it only looks at the local state. To see what I mean, run git fetch in repo_b. Once you do that, you'll see that git status correctly reports you're behind. > &g

Aw: Re: [Bug report] 'git status' always says "Your branch is up-to-date with 'origin/master'"

2014-01-06 Thread Thomas Ackermann
te with 'origin/master'" which is obviously wrong. --- Thomas - Original Nachricht ---- Von: Jiang Xin An: Thomas Ackermann Datum: 06.01.2014 06:31 Betreff: Re: [Bug report] 'git status' always says "Your branch is up-to-date with 'origin/master'

Re: [Bug report] 'git status' always says "Your branch is up-to-date with 'origin/master'"

2014-01-05 Thread Jiang Xin
2014/1/5 Thomas Ackermann : > Since f223459 "status: always show tracking branch even no change" > 'git status' (and 'git checkout master' always says > "Your branch is up-to-date with 'origin/master'" > even if 'origin/master' is way ahead from local 'master'. Hi, Thomas Can you provide your ope

[Bug report] 'git status' always says "Your branch is up-to-date with 'origin/master'"

2014-01-04 Thread Thomas Ackermann
Since f223459 "status: always show tracking branch even no change" 'git status' (and 'git checkout master' always says "Your branch is up-to-date with 'origin/master'" even if 'origin/master' is way ahead from local 'master'. --- Thomas -- To unsubscribe from this list: send the line "unsubscri