From: Ramkumar Ramachandra Date: Wed, 06 Jul 2011 10:09:47 GMT Subject: Re: [PATCH 7/8] vcs-svn: convert REPORT_FILENO to an option Message-ID: In-Reply-To: <1309715877-13814-8-git-send-email-divanorama@gmail.com> Hi again, Dmitry Ivankov writes: > svn-fe needs to read fast-import's responses to "ls" and "cat-blob". > These come through a file descriptor number 3. > > Sometimes it is easier to setup variable fd than a fixed one. It is > the case with pipe() call and even more fd=3 can be already taken. > On Windows file descriptors are not by default inherited by a child > process, nor there is an option to setup descriptors other than > standard stdin, stdout, stderr at a process creation time. > > Add an option for this file descriptor number in vcs-svn/ and svn-fe, > add a simple test for it. > > To be used like following: > $ svn-fe --read-blob-fd=7 ... 7