Re: [PATCH v9 00/19] index-helper/watchman
- From
Duy Nguyen <pclouds@gmail.com>
- Date
- May 10, 2016, 12:57 UTC
- Message-ID
- <CACsJy8Bra1bzUkG8u_btR67fBUAckJyL29S8kr-kcd_3x76v-Q@mail.gmail.com>
- In-Reply-To
- <CACsJy8CN_KzoFaROAksSuT1-sJgxP6zd2iJbqq-Dqq6EQyD_Vg@mail.gmail.com>
On Tue, May 10, 2016 at 7:45 PM, Duy Nguyen <pclouds@gmail.com> wrote:
> If --detach is used, log_warning() can't cover die(), > warning() or error(), most importantly die() for example because of > bugs.
A case for redirecting warning() is because watchman-support.c uses it. But because this file is only used by index-helper, you have another option, simply convert it to using log_warning().
-- Duy