]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'jk/no-sigpipe-during-network-transport'
authorJunio C Hamano <gitster@pobox.com>
Wed, 20 Mar 2019 06:16:06 +0000 (15:16 +0900)
committerJunio C Hamano <gitster@pobox.com>
Wed, 20 Mar 2019 06:16:06 +0000 (15:16 +0900)
commit27cdbdd134f181fc97f9589039ed7c0d12759b5a
tree3a42ab156427cfa7c1b7bd2f7d08469b6fdfc434
parentea327760d38b03be552418de044843cd2f0dba2e
parent143588949c8a0672302403c722fc433a5bb2ea2a
Merge branch 'jk/no-sigpipe-during-network-transport'

On platforms where "git fetch" is killed with SIGPIPE (e.g. OSX),
the upload-pack that runs on the other end that hangs up after
detecting an error could cause "git fetch" to die with a signal,
which led to a flakey test.  "git fetch" now ignores SIGPIPE during
the network portion of its operation (this is not a problem as we
check the return status from our write(2)s).

* jk/no-sigpipe-during-network-transport:
  fetch: ignore SIGPIPE during network operation
  fetch: avoid calling write_or_die()
builtin/fetch.c
fetch-pack.c
pkt-line.c