]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/lib-git-p4.sh
git p4 test: avoid loop in client_view
[thirdparty/git.git] / t / lib-git-p4.sh
index 890ee60708f59e743daf93171f40adb0abc4a76d..b1dbded3e801bd6c1869598a7b70f8af3fde4ccb 100644 (file)
@@ -121,8 +121,6 @@ client_view() {
                Root: $cli
                View:
                EOF
-               for arg ; do
-                       printf "\t$arg\n"
-               done
+               printf "\t%s\n" "$@"
        ) | p4 client -i
 }