diff options
author | Denton Liu <liu.denton@gmail.com> | 2019-08-27 00:05:10 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-09-05 12:58:52 -0700 |
commit | 6bd26f58ea27914547ff65f367a3b60f77a4d183 (patch) | |
tree | 10235c91f43b579f883b0713dd0af97715eb779b /Documentation/RelNotes/1.5.5.6.txt | |
parent | t4014: let sed open its own files (diff) | |
download | tgif-6bd26f58ea27914547ff65f367a3b60f77a4d183.tar.xz |
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 <liu.denton@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/RelNotes/1.5.5.6.txt')
0 files changed, 0 insertions, 0 deletions