Re: [PATCH v1] dir.c: don't flag the index as dirty for changes to the untracked cache
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 6, 2018, 14:50 UTC
- Message-ID
- <xmqqbmh2894e.fsf@gitster-ct.c.googlers.com>
- In-Reply-To
- <CACsJy8DLP=j-h3knwX9zOpejAfUbv1YJwfB-iw4476oy0hTfxg@mail.gmail.com>
Duy Nguyen <pclouds@gmail.com> writes:
Show 5 quoted lines
> 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).