Skip to content

Commit 99eb825

Browse files
Beat Bolligitster
authored andcommitted
t/lib-cvs.sh: avoid redundant use of cat
Signed-off-by: Beat Bolli <[email protected]> Acked-by: Taylor Blau <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 2fbd3ac commit 99eb825

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

t/lib-cvs.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ test_cmp_branch_tree () {
7171
find . -type d -name .git -prune -o -type f -print
7272
) | sort >module-git-"$1".list &&
7373
test_cmp module-cvs-"$1".list module-git-"$1".list &&
74-
cat module-cvs-"$1".list | while read f
74+
while read f
7575
do
7676
test_cmp_branch_file "$1" "$f" || return 1
77-
done
77+
done <module-cvs-"$1".list
7878
}

0 commit comments

Comments
 (0)