]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t3200-branch.sh
t/t3*: avoid redundant uses of cat
[thirdparty/git.git] / t / t3200-branch.sh
index 33aba87b9a4db314880a640b7ae65d7ba9c76a06..d3bbd00b818a4f26e2c19ae0ec432138200afc62 100755 (executable)
@@ -576,7 +576,7 @@ EOF
 
        # ...and that the comments for those sections are also
        # preserved.
-       cat config.branch | sed "s/\"source\"/\"dest\"/" >expect &&
+       sed "s/\"source\"/\"dest\"/" config.branch >expect &&
        sed -n -e "/Note the lack/,\$p" .git/config >actual &&
        test_cmp expect actual
 '