From: Junio C Hamano Date: Thu, 25 Aug 2022 21:42:31 +0000 (-0700) Subject: Merge branch 'jk/pipe-command-nonblock' X-Git-Tag: v2.38.0-rc0~63 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a103ad6f3d58cf3d297a6b102876e2bbf09c98d7;p=thirdparty%2Fgit.git Merge branch 'jk/pipe-command-nonblock' Fix deadlocks between main Git process and subprocess spawned via the pipe_command() API, that can kill "git add -p" that was reimplemented in C recently. * jk/pipe-command-nonblock: pipe_command(): mark stdin descriptor as non-blocking pipe_command(): handle ENOSPC when writing to a pipe pipe_command(): avoid xwrite() for writing to pipe git-compat-util: make MAX_IO_SIZE define globally available nonblock: support Windows compat: add function to enable nonblocking pipes --- a103ad6f3d58cf3d297a6b102876e2bbf09c98d7