diff options
author | René Scharfe <l.s.r@web.de> | 2020-08-11 19:15:03 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-08-11 14:01:18 -0700 |
commit | e767963ab6a542649c91f79fb686c58574b1ee86 (patch) | |
tree | 79cae31cfb2a3d691d9627ff3c07f3ce337a375b /t/t6024-recursive-merge.sh | |
parent | Git 2.28 (diff) | |
download | tgif-e767963ab6a542649c91f79fb686c58574b1ee86.tar.xz |
upload-pack: remove superfluous sigchain_pop() call
2997178ee6 (upload-pack: split check_unreachable() in two, prep for
get_reachable_list(), 2016-06-12) moved most code of has_unreachable()
into the new function do_reachable_revlist(). The latter takes care to
ignore SIGPIPE during its operations, and restores the original signal
handler before returning.
However, a sigchain_pop(SIGPIPE) call remained in the error handling
code of has_unreachable(), which does nothing because the stack is
empty after do_reachable_revlist() cleaned up after itself. Remove it.
Signed-off-by: René Scharfe <l.s.r@web.de>
Reviewed-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t6024-recursive-merge.sh')
0 files changed, 0 insertions, 0 deletions