Re: [RFC] status: show tracking branch even no difference

2013-08-07 Thread Jiang Xin
2013/8/7 Matthieu Moy : > Jiang Xin writes: > >> With this patch, "git status" will report relationship between current >> branch and its upstream counterpart even if there is no difference. >> >> $ git status >> # On branch master >> # Your branch is identical to its tracking branch:

Re: [RFC] status: show tracking branch even no difference

2013-08-07 Thread Matthieu Moy
Jiang Xin writes: > With this patch, "git status" will report relationship between current > branch and its upstream counterpart even if there is no difference. > > $ git status > # On branch master > # Your branch is identical to its tracking branch: 'origin/master'. Why not, but we

[RFC] status: show tracking branch even no difference

2013-08-07 Thread Jiang Xin
If the current branch has an upstream branch, and there are differences between the current branch and its upstream, some commands (such as "git status", "git status -bs", and "git checkout") will report their relationship. E.g. $ git status # On branch master # Your branch is ahead of