mirror of
https://github.com/git/git.git
synced 2026-01-14 04:37:41 +00:00
When "git" is spawned in such a way that any of the low 3 file descriptors is closed, our first open() may yield file descriptor 2, and writing error message to it would screw things up in a big way. * tr/protect-low-3-fds: git: ensure 0/1/2 are open in main() daemon/shell: refactor redirection of 0/1/2 from /dev/null
5.2 KiB
5.2 KiB