Re: [PATCH 4/4] status: support --no-ahead-behind in long status format.

2017-12-20 Thread Jeff King
On Wed, Dec 20, 2017 at 02:42:45PM +, Jeff Hostetler wrote: > diff --git a/Documentation/git-status.txt b/Documentation/git-status.txt > index ea029ad..9a2f209 100644 > --- a/Documentation/git-status.txt > +++ b/Documentation/git-status.txt > @@ -120,6 +120,9 @@ configuration variable document

[PATCH 4/4] status: support --no-ahead-behind in long status format.

2017-12-20 Thread Jeff Hostetler
From: Jeff Hostetler Teach long (normal) status format to respect the --no-ahead-behind argument and skip the possibly expensive ahead/behind computation when printing the branch tracking information. When --no-ahead-behind is given or status.noaheadbehind is true, status prints "Your branch is