Documentation / grammer nit
[gitweb.git] / git-ls-remote.sh
index 3671f3433e82f7c54e09e90b411a63f1f068210d..b7e5d0458470248e65da0893b8b9bb4ced9152da 100755 (executable)
@@ -82,7 +82,7 @@ rsync://* )
        (cd $tmpdir && find refs -type f) |
        while read path
        do
-               cat "$tmpdir/$path" | tr -d '\012'
+               tr -d '\012' <"$tmpdir/$path"
                echo "  $path"
        done &&
        rm -fr $tmpdir