summaryrefslogtreecommitdiff
path: root/setup.c
diff options
context:
space:
mode:
authorLibravatar Eric Sunshine <sunshine@sunshineco.com>2021-12-09 00:11:01 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-12-13 10:29:48 -0800
commite57ea501d00eab6191993f35e502aface5ceac5e (patch)
treea0e43bed2a609bdc750b81c5b68e9d0add6a5d77 /setup.c
parentt4202: clarify intent by creating expected content less cleverly (diff)
downloadtgif-e57ea501d00eab6191993f35e502aface5ceac5e.tar.xz
t5516: drop unnecessary subshell and command invocation
To create its "expect" file, this test pipes into `sort` the output of `git for-each-ref` and a copy of that same output but with a minor textual transformation applied. To do so, it employs a subshell and commands `cat` and `sed` even though the same result can be accomplished by `sed` alone (without a subshell). Signed-off-by: Eric Sunshine <sunshine@sunshineco.com> Reviewed-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'setup.c')
0 files changed, 0 insertions, 0 deletions