mirror of
https://github.com/git/git.git
synced 2026-01-10 10:13:33 +00:00
t/t3*: avoid redundant uses 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:
committed by
Junio C Hamano
parent
2ed139ccc9
commit
2b5a303ad8
@@ -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
|
||||
'
|
||||
|
||||
Reference in New Issue
Block a user