Code

git-p4: remove bash-ism in t9809
authorPete Wyckoff <pw@padd.com>
Sun, 26 Feb 2012 15:37:26 +0000 (10:37 -0500)
committerJunio C Hamano <gitster@pobox.com>
Mon, 27 Feb 2012 00:19:22 +0000 (16:19 -0800)
commit8d93a5ac68d12a01681a0c2a8d2f799da5cb9fa9
treead36ead3fccd4ef3c7faa057e9fc246d2395a681
parent543987bd475abae502939eb3db9c6879fde09c88
git-p4: remove bash-ism in t9809

Plain old $# works to count the number of arguments in
either bash or dash, even if the arguments have spaces.

Based-on-patch-by: Vitor Antunes <vitor.hda@gmail.com>
Signed-off-by: Pete Wyckoff <pw@padd.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t9809-git-p4-client-view.sh