From: Jiang Xin Date: Wed, 07 Aug 2013 16:03:42 GMT Subject: Re: [RFC] status: show tracking branch even no difference Message-ID: In-Reply-To: 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: '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