Re: [RFC] status: show tracking branch even no difference
2013/8/7 Matthieu Moy <Matthieu.Moy@grenoble-inp.fr>:
Show 14 quoted lines
> Jiang Xin <worldhello.net@gmail.com> 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 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'
Show 6 quoted lines
>
> That's consistant with other messages like
>
> # Your branch is ahead of '%s' by %d commits
>
> (And this would deserve a test)
Will add some test cases in t6040 if this patch has value.
--
Jiang Xin