Thread (5 messages) flat view 5 messages, 2 authors, 2016-06-15

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

From: Jiang Xin <hidden>
Date: 2016-06-15 22:58:21

Possibly related (same subject, not in this thread)

2013/8/7 Matthieu Moy [off-list ref]:
Jiang Xin [off-list ref] writes:
quoted
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 better. Thanks.
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help