mirror of
https://github.com/git/git
synced 2024-11-04 16:17:49 +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
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue