From: Denton Liu Date: Tue, 27 Aug 2019 04:05:10 +0000 (-0400) Subject: t4014: use test_line_count() where possible X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/6bd26f58ea27914547ff65f367a3b60f77a4d183?hp=6bd26f58ea27914547ff65f367a3b60f77a4d183 t4014: use test_line_count() where possible Convert all instances of `cnt=$(... | wc -l) && test $cnt = N` into uses of `test_line_count()`. While we're at it, convert one instance of a Git command upstream of a pipe into two commands. This prevents a failure of a Git command from being masked since only the return code of the last member of the pipe is shown. Signed-off-by: Denton Liu Signed-off-by: Junio C Hamano ---