Re: [PATCH v1] dir.c: don't flag the index as dirty for changes to the untracked cache
From: Junio C Hamano <hidden> Date: 2018-02-06 14:51:06
Duy Nguyen [off-list ref] 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).