From 5835f013e88d5e29fa73fe7eac8f620cfd3fc0a1 Mon Sep 17 00:00:00 2001 From: Yobmod Date: Mon, 9 Aug 2021 18:02:25 +0100 Subject: Update changelog and version --- git/cmd.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'git') diff --git a/git/cmd.py b/git/cmd.py index ff1dfa34..068ad134 100644 --- a/git/cmd.py +++ b/git/cmd.py @@ -147,6 +147,8 @@ def handle_process_output(process: 'Git.AutoInterrupt' | Popen, # for t in threads: t.join(timeout=timeout) + if t.is_alive(): + raise RuntimeError(f"Thread join() timed out in cmd.handle_process_output(). Timeout={timeout} seconds") if finalizer: return finalizer(process) -- cgit v1.2.1