Thread (7 messages) flat view 7 messages, 2 authors, 2016-06-15

Re: [PATCH 0/5] ignore SIG{INT,QUIT} when launching editor

From: Krzysztof Mazur <hidden>
Date: 2016-06-15 22:55:28

On Fri, Nov 30, 2012 at 05:39:43PM -0500, Jeff King wrote:
This is a re-roll of the pf/editor-ignore-sigint series.

People mentioned some buggy editors which go into an infinite EIO loop
when their parent dies due to SIGQUIT. That should be a non-issue now,
as we will be ignoring SIGQUIT. And even if you could replicate it
(e.g., with another signal) those programs should be (and reportedly
have been) fixed. It is not git's job to babysit its child processes.
Also some good editors printed error message after they got EIO,
confusing the user.

Looks good to me. I've tested this with ed (always ignores SIGINT
and SIGQUIT), vim (always ignores SIGINT, but dies after three
SIGQUIT) and "sleep" (dies after SIGINT and SIGQUIT) and git works now
as expected. Doing what editor does is probably the best thing to do. 

Tested-by: Krzysztof Mazur <redacted>


Thanks,

Krzysiek
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help