From: Bagas Sanjaya Date: Mon, 19 Apr 2021 11:10:23 GMT Subject: Re: git checkout behaviour when only ctime of file changes Message-ID: In-Reply-To: On 19/04/21 16.11, Cristian Morales Vega wrote: > Basically after something updates the ctime of a file, a > "git checkout" can behave differently depending on whether a > "git update-index --refresh" has been run before or not. > _Maybe_ it could make sense for "git checkout" to always behave as if > "git update-index --refresh" had been run before? No idea really. I know that setting SELinux label can alter file ctime, but when I need to write the test that simulate file ctime update, do you know which Unix command can trigger that, beside SELinux tools? -- An old man doll... just what I always wanted! - Clara