summaryrefslogtreecommitdiffstats
path: root/t/t4205-log-pretty-formats.sh
diff options
context:
space:
mode:
authorBeat Bolli <bb@drbeat.li>2024-03-15 20:46:06 +0100
committerJunio C Hamano <gitster@pobox.com>2024-03-16 19:08:56 +0100
commit237ce762ef9ee360ae242cb47af808fc617c1d0a (patch)
tree61c0c6219157371e5999a15214c48617018692c8 /t/t4205-log-pretty-formats.sh
parentt/t3*: avoid redundant uses of cat (diff)
downloadgit-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-xt/t4205-log-pretty-formats.sh2
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