git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Hyunho Cho <mug896@gmail.com>
To: git@vger.kernel.org
Subject: “git remote status” incorrect result
Date: Thu, 27 Jun 2013 14:25:55 +0900	[thread overview]
Message-ID: <CAMMw471Duu075CoC=jw3ZKpcEq0Lonv1NkzyW41v8dR39ZN=Zg@mail.gmail.com> (raw)

i have configured like this

git remote add myremote1 .......
git config --global push.default upstream
git branch --set-upstream-to=myremote1/master remote1-master

and git pull, git push in remote1-master work i expected

but "git remote status myremote1" display..

Local ref configured for 'git push':
   master pushes to master (local out of date)

section always display master to master. and status incorrectly

it would be correct:

Local ref configured for 'git push':
   remote1-master pushes to master (up to date)

if i add another remote "myremote2" there is also exist "master" branch

"Local ref configured for 'git push':" section have to display

according to local branch and upstream setting

and remote status correctly i think

                 reply	other threads:[~2013-06-27  5:26 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAMMw471Duu075CoC=jw3ZKpcEq0Lonv1NkzyW41v8dR39ZN=Zg@mail.gmail.com' \
    --to=mug896@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).