From: Junio C Hamano Date: Tue, 06 Feb 2018 14:50:57 GMT Subject: Re: [PATCH v1] dir.c: don't flag the index as dirty for changes to the untracked cache Message-ID: In-Reply-To: Duy Nguyen writes: > Please don't do that, at least not this way. cache_changed mask should > reflect all dirty parts in .git/index. If UNTR extension is not marked > updated, it's legit to just skip generating/writing it down (e.g. if I > kept the old UNTR extension from the last time I read .git/index > around in memory) Excellent point. Thanks for mentioning this (it crossed my mind when I responded but I forgot to metion in my message).