Re: [PATCH v12 07/20] index-helper: add --detach
- From
Duy Nguyen <pclouds@gmail.com>
- Date
- Jun 25, 2016, 14:46 UTC
- Message-ID
- <CACsJy8ANHtf800O+ZGxYRV4mGrLighx+R3kd19jYJA1Vatd+Ow@mail.gmail.com>
- In-Reply-To
- <1463694357-6503-8-git-send-email-dturner@twopensource.com>
On Thu, May 19, 2016 at 11:45 PM, David Turner <dturner@twopensource.com> wrote:
Show 5 quoted lines
> From: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> > > We detach after creating and opening the socket, because otherwise > we might return control to the shell before index-helper is ready to > accept commands. This might lead to flaky tests.
Another good reason for delaying detach as much as possible is we can print errors to stderr instead of to file.
-- Duy