diff options
author | Beat Bolli <bb@drbeat.li> | 2024-03-15 20:46:06 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-03-16 19:08:56 +0100 |
commit | 237ce762ef9ee360ae242cb47af808fc617c1d0a (patch) | |
tree | 61c0c6219157371e5999a15214c48617018692c8 /t/t4205-log-pretty-formats.sh | |
parent | t/t3*: avoid redundant uses of cat (diff) | |
download | git-237ce762ef9ee360ae242cb47af808fc617c1d0a.tar.xz git-237ce762ef9ee360ae242cb47af808fc617c1d0a.zip |
t/t4*: 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>
Diffstat (limited to 't/t4205-log-pretty-formats.sh')
-rwxr-xr-x | t/t4205-log-pretty-formats.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t4205-log-pretty-formats.sh b/t/t4205-log-pretty-formats.sh index e3d655e6b8..1409eebcd8 100755 --- a/t/t4205-log-pretty-formats.sh +++ b/t/t4205-log-pretty-formats.sh @@ -156,7 +156,7 @@ test_expect_success 'NUL termination with --reflog --pretty=oneline' ' for r in $revs do git show -s --pretty=oneline "$r" >raw && - cat raw | lf_to_nul || return 1 + lf_to_nul <raw || return 1 done >expect && # the trailing NUL is already produced so we do not need to # output another one |