]> git.ipfire.org Git - thirdparty/git.git/commit
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)
commit4f7e2f0b212132a1807448a170ddca1def234137
tree9f25cc4f6558a31c371761167e65394db5150974
parent6ba65f4ac321d628d754b3e5494a348a2106c03a
parentd34182b9e37fc72e04e40e834775a1c29e80c970
Merge branch 'rj/receive-pack-avoid-sigpipe-during-status-reporting'

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
builtin/receive-pack.c