]> git.ipfire.org Git - thirdparty/git.git/commit - remote.c
status: support --no-ahead-behind in long format
authorJeff Hostetler <jeffhost@microsoft.com>
Tue, 9 Jan 2018 18:50:18 +0000 (18:50 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 24 Jan 2018 21:48:39 +0000 (13:48 -0800)
commitf39a757dd93488103dde76e992a75edf2d772b62
treed27d738996d848c0d0e2bababaf4435040fc34f0
parent3ca1897cc1a23f3ad140d759280b73ad7affe696
status: support --no-ahead-behind in long format

Teach long (normal) status format to respect the --no-ahead-behind
parameter and skip the possibly expensive ahead/behind computation
between the branch and the upstream.

Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/checkout.c
remote.c
remote.h
t/t6040-tracking-info.sh
wt-status.c