Re: [PATCH v5 15/15] read-cache: make sure file handles are not inherited by child processes

2016-08-18 Thread Johannes Schindelin
Hi Lars, On Wed, 10 Aug 2016, larsxschnei...@gmail.com wrote: > From: Lars Schneider > > Consider the case of a file that requires filtering and is present in branch A > but not in branch B. If A is the current HEAD and we checkout B then the > following happens: > >

[PATCH v5 15/15] read-cache: make sure file handles are not inherited by child processes

2016-08-10 Thread larsxschneider
From: Lars Schneider Consider the case of a file that requires filtering and is present in branch A but not in branch B. If A is the current HEAD and we checkout B then the following happens: 1. ce_compare_data() opens the file 2. index_fd() detects that the file