Re: [PATCH v3] git-daemon wrapper to wait until daemon is ready
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Apr 19, 2012, 15:00 UTC
- Message-ID
- <CAPc5daX7aQhuez+Q28s5jMcZzofxDvA-g1nnnEA_9tZFCJm-gw@mail.gmail.com>
- In-Reply-To
- <20120415115322.GA11786@ecki>
2012/4/15 Clemens Buchacher <drizzd@aon.at>
Show 7 quoted lines
> > 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)".