mirror of
https://github.com/git/git.git
synced 2024-11-23 09:56:28 +08:00
t/annotate-tests.sh: avoid redundant use 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:
parent
99eb825c09
commit
47c0f24539
@ -532,7 +532,7 @@ test_expect_success 'blame -L :funcname with userdiff driver' '
|
||||
"$(cat file.template)" &&
|
||||
test_commit --author "B <B@test.git>" \
|
||||
"change" "$fortran_file" \
|
||||
"$(cat file.template | sed -e s/ChangeMe/IWasChanged/)" &&
|
||||
"$(sed -e s/ChangeMe/IWasChanged/ file.template)" &&
|
||||
check_count -f "$fortran_file" -L:RIGHT A 3 B 1
|
||||
'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user