Skip to content

Commit

Permalink
t/lib-cvs.sh: avoid redundant use of cat
Browse files Browse the repository at this point in the history
Signed-off-by: Beat Bolli <[email protected]>
Acked-by: Taylor Blau <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>
  • Loading branch information
Beat Bolli authored and gitster committed Mar 16, 2024
1 parent 2fbd3ac commit 99eb825
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions t/lib-cvs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ test_cmp_branch_tree () {
find . -type d -name .git -prune -o -type f -print
) | sort >module-git-"$1".list &&
test_cmp module-cvs-"$1".list module-git-"$1".list &&
cat module-cvs-"$1".list | while read f
while read f
do
test_cmp_branch_file "$1" "$f" || return 1
done
done <module-cvs-"$1".list
}

0 comments on commit 99eb825

Please sign in to comment.