summaryrefslogtreecommitdiff
path: root/t/t6200-fmt-merge-msg.sh
diff options
context:
space:
mode:
authorLibravatar Johannes Schindelin <johannes.schindelin@gmx.de>2021-02-04 20:07:51 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-02-04 17:16:42 -0800
commit5189bb87249434fba3a82f17b2bc6c93025ba88d (patch)
tree1e40df6d4d8d2dbcb2bd040f92f9ace511be74c2 /t/t6200-fmt-merge-msg.sh
parentrange-diff: libify the read_patches() function again (diff)
downloadtgif-5189bb87249434fba3a82f17b2bc6c93025ba88d.tar.xz
range-diff: simplify code spawning `git log`
Previously, we waited for the child process to be finished in every failing code path as well as at the end of the function `show_range_diff()`. However, we do not need to wait that long. Directly after reading the output of the child process, we can wrap up the child process. This also has the advantage that we don't do a bunch of unnecessary work in case `finish_command()` returns with an error anyway. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t6200-fmt-merge-msg.sh')
0 files changed, 0 insertions, 0 deletions