From: SZEDER Gábor Date: Fri, 22 Mar 2019 11:04:22 GMT Subject: Re: [PATCH v2 2/2] fsmonitor: force a refresh after the index was discarded Message-ID: <20190322110422.GB22459@szeder.dev> In-Reply-To: <79fdd0d586e9086b68af1b68dc5e194a566d2240.1553176651.git.gitgitgadget@gmail.com> On Thu, Mar 21, 2019 at 06:57:34AM -0700, Johannes Schindelin via GitGitGadget wrote: > From: Johannes Schindelin > > With this change, the `index_state` struct becomes the new home for the > flag that says whether the fsmonitor hook has been run, i.e. it is now > per-index. > > It also gets re-set when the index is discarded, fixing the bug where > fsmonitor-enabled Git would miss updates under certain circumstances. Under what circumstances would a fsmonitor-enabled Git miss updates?