Re: [PATCH v2 5/5] dir.c: stop ignoring opendir() error in open_cached_dir()

2018-01-07 Thread Duy Nguyen
On Thu, Jan 4, 2018 at 3:49 AM, Ævar Arnfjörð Bjarmason wrote: > From: Nguyễn Thái Ngọc Duy > > A follow-up to the recently fixed bugs in the untracked > invalidation. If opendir() fails it should show a warning, perhaps > this should die, but if this ever happens the error is probably > recovera

[PATCH v2 5/5] dir.c: stop ignoring opendir() error in open_cached_dir()

2018-01-03 Thread Ævar Arnfjörð Bjarmason
From: Nguyễn Thái Ngọc Duy A follow-up to the recently fixed bugs in the untracked invalidation. If opendir() fails it should show a warning, perhaps this should die, but if this ever happens the error is probably recoverable for the user, and dying would just make things worse. Signed-off-by: N