From: Daniel Fanjul Date: Sat, 05 Jan 2019 21:44:47 GMT Subject: Re: [git-users] git checkout file with custom mtime Message-ID: In-Reply-To: <1413fbaa-8a83-0f43-afcb-5cb67683b505@iee.org> I'm on Ubuntu. I do not use LFS. I track mods and saved games of Skyrim with git, TESV.exe sorts the saved games only by their mtime. I know it is not the most usual use case for git. I agree with that viewpoint and I like the way git works right now, I do not want to change that. Checking out the saved games and then fixing the mtime works but forces a lot of unneeded I/O. I forgot to mention that 'git update-index --assume-unchanged' does not solve this well enough. Eventually 'git status' rereads the file when that flag is removed. A better way for my use case would be being able to set the proper mtime without forcing a rehash of the file that yields the same object. Thanks for your reply.