Re: [PATCH v7 2/3] branch: mark missing tracking branch as gone

2013-08-21 Thread Matthieu Moy
Jiang Xin worldhello@gmail.com writes: $ git status # On branch topic # Your branch is based on 'topicbase', but the upstream is gone. # (use git branch --unset-upstream to fixup) Sorry, I didn't follow closely the previous discussions. I'm not sure gone is right

Re: [PATCH v7 2/3] branch: mark missing tracking branch as gone

2013-08-21 Thread Jiang Xin
2013/8/21 Matthieu Moy matthieu@grenoble-inp.fr: Jiang Xin worldhello@gmail.com writes: $ git status # On branch topic # Your branch is based on 'topicbase', but the upstream is gone. # (use git branch --unset-upstream to fixup) Sorry, I didn't follow closely the

[PATCH v7 2/3] branch: mark missing tracking branch as gone

2013-08-15 Thread Jiang Xin
If a branch has been set to track a upstream, but the upstream branch is missing, the tracking info is silently ignored in the output of some commands such as git branch -vv and git status, as if there were no such tracking settings. Junio suggested missing upstream should be reported [1], such