Re: Should update-index --refresh force writing the index in case of racy timestamps?
- From
Marc Strapetz <marc.strapetz@syntevo.com>
- Date
- Dec 17, 2021, 11:04 UTC
- Message-ID
- <505637a9-f6de-8f0d-b5cf-e765388f9301@syntevo.com>
- In-Reply-To
- <d3dd805c-7c1d-30a9-6574-a7bfcb7fc013@syntevo.com>
On 17/12/2021 11:44, Marc Strapetz wrote:
> Subsequent calls to "git update-index --refresh" or "git status" will invoke the "lfs" > filter over and over again, ...
Please forget about the note regarding "git status". cmd_status() will actually fix racy timestamps by calling repo_update_index_if_able(). So the problem is only about update-index.
-Marc