Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/help.c
diff options
context:
space:
mode:
authorJehan Bing <jehan@orb.com>2012-02-21 00:53:37 +0400
committerJunio C Hamano <gitster@pobox.com>2012-02-22 00:48:09 +0400
commit6424c2ad12cf6c3feb533fab9c4dded7514d0f4c (patch)
treeb2916a0d9514481abda8642dd871e5f2360a9f03 /help.c
parentd0482e88a735787f7bb33ef4783be0e7f6a70946 (diff)
Ignore SIGPIPE when running a filter driver
If a filter is not defined or if it fails, git should behave as if the filter is a no-op passthru. However, if the filter exits before reading all the content, depending on the timing, git could be killed with SIGPIPE when it tries to write to the pipe connected to the filter. Ignore SIGPIPE while processing the filter to give us a chance to check the return value from a failed write, in order to detect and act on this mode of failure in a more controlled way. Signed-off-by: Jehan Bing <jehan@orb.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'help.c')
0 files changed, 0 insertions, 0 deletions