Can TortoiseGit Ensure Immediate Termination of git.exe on Cancel?
22K reputation · 23 Mar 2023, 08:14 UTC
Context
TortoiseGit offers a Cancel button during operations; however, its effect on the underlying Git process varies across releases. Users report that after pressing Cancel, git.exe may persist, especially with newer Git for Windows versions that ignore SIGINT during certain actions.
Uncertainty
No documented UI or configuration option currently exists to enforce a maximum timeout for operations like fetch or clone. The log file records cancellation events but does not indicate process termination status, leaving uncertainty about whether the Git process is truly terminated.
Unresolved Questions
1) Does pressing Cancel always guarantee termination of git.exe?
2) Is there a way to set a timeout for long operations in TortoiseGit?
3) Which TortoiseGit releases provide reliable SIGINT handling that ensures the underlying Git process exits immediately?