diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2021-02-02 02:59:57 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-02-01 21:15:58 -0800 |
commit | 61ff12fa50b051141dd3b451d74dde76a87fece3 (patch) | |
tree | ccd05c435f4d3b013c32f8f10a5082dd1218ef1d /t/t0202-gettext-perl.sh | |
parent | The fourth batch (diff) | |
download | tgif-61ff12fa50b051141dd3b451d74dde76a87fece3.tar.xz |
pager: refactor wait_for_pager() function
Refactor the wait_for_pager() function. Since 507d7804c0b (pager:
don't use unsafe functions in signal handlers, 2015-09-04) the
wait_for_pager() and wait_for_pager_atexit() callers diverged on more
than they shared.
Let's extract the common code into a new close_pager_fds() helper, and
move the parts unique to the only to callers to those functions.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t0202-gettext-perl.sh')
0 files changed, 0 insertions, 0 deletions