status: remove the empty line after hints
authorJohn Lin <johnlinp@gmail.com>
Tue, 4 Jun 2019 14:02:21 +0000 (07:02 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 21 Jun 2019 15:54:05 +0000 (08:54 -0700)
commitb2f5171ecc2feb4192acd80f5a6b05c06e099e97
treee2bfb731d326b918cc434e63c80f82352d35ed06
parent97ed685701a6df0273f7d29fd5bc0a0658a63cad
status: remove the empty line after hints

Before this patch, there is inconsistency between the status
messages with hints and the ones without hints: there is an
empty line between the title and the file list if hints are
presented, but there isn't one if there are no hints.

This patch remove the inconsistency by removing the empty
lines even if hints are presented.

Signed-off-by: John Lin <johnlinp@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7060-wtstatus.sh
t/t7508-status.sh
t/t7512-status-help.sh
wt-status.c