status: update short status to respect --no-ahead-behind
commit3ca1897cc1a23f3ad140d759280b73ad7affe696
authorJeff Hostetler <jeffhost@microsoft.com>
Tue, 9 Jan 2018 18:50:17 +0000 (9 18:50 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 24 Jan 2018 21:48:39 +0000 (24 13:48 -0800)
treed87dbe219b1e528dd4acd9a6e2f113bc7b52c853
parentfd9b544a2991ad74d73ad1bc0af4d24f91a6802b
status: update short status to respect --no-ahead-behind

Teach "git status --short --branch" to respect "--no-ahead-behind"
parameter to skip computing ahead/behind counts for the branch and
its upstream and just report '[different]'.

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