Re: [PATCH v1] t0021: fix flaky test

2016-12-19 Thread Jeff King
On Mon, Dec 19, 2016 at 05:24:32PM +, Ramsay Jones wrote: > > t0021.15 creates files, adds them to the index, and commits them. All > > this usually happens in a test run within the same second and Git cannot > > know if the files have been changed between `add` and `commit`. Thus, > > Git

Re: [PATCH v1] t0021: fix flaky test

2016-12-19 Thread Ramsay Jones
On 18/12/16 12:37, larsxschnei...@gmail.com wrote: > From: Lars Schneider > > t0021.15 creates files, adds them to the index, and commits them. All > this usually happens in a test run within the same second and Git cannot > know if the files have been changed between

[PATCH v1] t0021: fix flaky test

2016-12-18 Thread larsxschneider
From: Lars Schneider t0021.15 creates files, adds them to the index, and commits them. All this usually happens in a test run within the same second and Git cannot know if the files have been changed between `add` and `commit`. Thus, Git has to run the clean filter in