summaryrefslogtreecommitdiff
path: root/reset.h
diff options
context:
space:
mode:
authorLibravatar Ævar Arnfjörð Bjarmason <avarab@gmail.com>2021-02-02 02:59:57 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-02-01 21:15:58 -0800
commit61ff12fa50b051141dd3b451d74dde76a87fece3 (patch)
treeccd05c435f4d3b013c32f8f10a5082dd1218ef1d /reset.h
parentThe fourth batch (diff)
downloadtgif-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 'reset.h')
0 files changed, 0 insertions, 0 deletions