]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'jk/pipe-command-nonblock'
authorJunio C Hamano <gitster@pobox.com>
Thu, 25 Aug 2022 21:42:31 +0000 (14:42 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 25 Aug 2022 21:42:32 +0000 (14:42 -0700)
commita103ad6f3d58cf3d297a6b102876e2bbf09c98d7
tree763c63d41c7c3d9fadf0ebbe76e9fc90f81743a8
parent098b7bfaa6c415f2b23885b82d6b5a31a8cdb7d2
parent716c1f649e372a0784b9826cd3839e7b373e2ea9
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
Makefile
git-compat-util.h
wrapper.c