Re: [RFC] status: show tracking branch even no difference
- From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
- Date
- Aug 7, 2013, 15:50 UTC
- Message-ID
- <vpqr4e5h55b.fsf@anie.imag.fr>
- In-Reply-To
- <46fb1948a57990b0ea737401f2d60f654da4bb4f.1375890091.git.worldhello.net@gmail.com>
Jiang Xin <worldhello.net@gmail.com> writes:
Show 6 quoted lines
> 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 try to say "remote-tracking branch" instead of just "tracking". Adding "remote-" in your wording may make the line a bit long, but it may be sufficient to say
# Your branch is identical to 'origin/master'
That's consistant with other messages like
# Your branch is ahead of '%s' by %d commits
(And this would deserve a test)
-- Matthieu Moy http://www-verimag.imag.fr/~moy/