From: Junio C Hamano Date: Thu, 19 Apr 2012 15:00:04 GMT Subject: Re: [PATCH v3] git-daemon wrapper to wait until daemon is ready Message-ID: In-Reply-To: <20120415115322.GA11786@ecki> 2012/4/15 Clemens Buchacher > > The shell script which is currently used to parse git daemon output does > not seem to work reliably. In order to work around such issues, > re-implement the same procedure in C and write the daemon pid to a file. > ... > +       strbuf_getwholeline_fd(&line, proc.err, '\n'); > +       fprintf(stderr, line.buf); Just a note. I'll update this part with "fputs(line.buf, stderr)".