status: ignore status.aheadbehind in porcelain formats
commitfb4db1a298b75536a861485bda27e3f1e098d6f6
authorJeff Hostetler <jeffhost@microsoft.com>
Tue, 18 Jun 2019 20:21:28 +0000 (18 13:21 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 21 Jun 2019 16:35:03 +0000 (21 09:35 -0700)
treee6837d210af95827f2ae69bd60f21856d1cf5d61
parent0a53561a6221f989b210797e62e83fb7260fa42c
status: ignore status.aheadbehind in porcelain formats

Teach porcelain V[12] formats to ignore the status.aheadbehind
config setting. They only respect the --[no-]ahead-behind
command line argument.  This is for backwards compatibility
with existing scripts.

Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>
Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/commit.c
t/t7064-wtstatus-pv2.sh