]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'rj/receive-pack-avoid-sigpipe-during-status-reporting'
authorJunio C Hamano <gitster@pobox.com>
Wed, 15 Dec 2021 17:39:48 +0000 (09:39 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 15 Dec 2021 17:39:48 +0000 (09:39 -0800)
When the "git push" command is killed while the receiving end is
trying to report what happened to the ref update proposals, the
latter used to die, due to SIGPIPE.  The code now ignores SIGPIPE
to increase our chances to run the post-receive hook after it
happens.

* rj/receive-pack-avoid-sigpipe-during-status-reporting:
  receive-pack: ignore SIGPIPE while reporting status to client

1  2 
builtin/receive-pack.c

Simple merge