From: Junio C Hamano Date: Tue, 13 Sep 2022 19:21:08 +0000 (-0700) Subject: Merge branch 'jk/pipe-command-nonblock' into maint X-Git-Tag: v2.38.0-rc0~11^2~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=aa31cb89743a9ba4efd43f5160bfea0a4cbe5858;p=thirdparty%2Fgit.git Merge branch 'jk/pipe-command-nonblock' into maint 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 --- aa31cb89743a9ba4efd43f5160bfea0a4cbe5858