mirror of
https://github.com/git/git
synced 2024-10-02 14:45:21 +00:00
t/lib-cvs.sh: avoid redundant use of cat
Signed-off-by: Beat Bolli <dev+git@drbeat.li> Acked-by: Taylor Blau <me@ttaylorr.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
2fbd3ac8e6
commit
99eb825c09
|
@ -71,8 +71,8 @@ test_cmp_branch_tree () {
|
||||||
find . -type d -name .git -prune -o -type f -print
|
find . -type d -name .git -prune -o -type f -print
|
||||||
) | sort >module-git-"$1".list &&
|
) | sort >module-git-"$1".list &&
|
||||||
test_cmp module-cvs-"$1".list 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
|
do
|
||||||
test_cmp_branch_file "$1" "$f" || return 1
|
test_cmp_branch_file "$1" "$f" || return 1
|
||||||
done
|
done <module-cvs-"$1".list
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue