diff options
author | 2021-02-04 20:07:51 +0000 | |
---|---|---|
committer | 2021-02-04 17:16:42 -0800 | |
commit | 5189bb87249434fba3a82f17b2bc6c93025ba88d (patch) | |
tree | 1e40df6d4d8d2dbcb2bd040f92f9ace511be74c2 /t/t9827-git-p4-change-filetype.sh | |
parent | range-diff: libify the read_patches() function again (diff) | |
download | tgif-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/t9827-git-p4-change-filetype.sh')
0 files changed, 0 insertions, 0 deletions