{"thread":{"id":"24658","subject":"git check out file time","startedAt":"2010-08-07T04:54:05Z","lastAt":"2010-08-07T13:46:20Z","messageCount":2,"participants":["Tong Sun","Jakub Narebski"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"147374","messageId":"AANLkTinuD8YQ+maWwD3v1C0B4YCOdTS4OsVjHLizga3c@mail.gmail.com","threadId":"24658","inReplyTo":null,"subject":"git check out file time","fromName":"Tong Sun","fromEmail":"suntong001@gmail.com","sentAt":"2010-08-07T04:54:05Z","receivedAt":"2010-08-07T04:54:05Z","isPatch":false,"sender":{"key":"suntong001@gmail.com","avatar":null},"body":"Hi,\n\nQuick Q, is it possible to keep the original file time from the git\nserver when checking out / cloning a local repo?\n\nWhen I did\n\n git clone git://git.remote...\n\nAll my local git files are set to the check out time.\n\nPlease help and CC me when replying.\n\nThanks\n"},{"id":"147390","messageId":"m3aaoyo7sz.fsf@localhost.localdomain","threadId":"24658","inReplyTo":"AANLkTinuD8YQ+maWwD3v1C0B4YCOdTS4OsVjHLizga3c@mail.gmail.com","subject":"Re: git check out file time","fromName":"Jakub Narebski","fromEmail":"jnareb@gmail.com","sentAt":"2010-08-07T13:46:20Z","receivedAt":"2010-08-07T13:46:20Z","isPatch":false,"sender":{"key":"jnareb@gmail.com","avatar":"https://avatars.githubusercontent.com/u/2706?v=4"},"body":"Tong Sun <suntong001@gmail.com> writes:\n\n> Quick Q, is it possible to keep the original file time from the git\n> server when checking out / cloning a local repo?\n> \n> When I did\n> \n>  git clone git://git.remote...\n> \n> All my local git files are set to the check out time.\n> \n> Please help and CC me when replying.\n\nOnly with third-party extra tools such as Metastore (or etckeeper that\nuses it), or git-cache-meta (or IsiSetup), see\n  https://git.wiki.kernel.org/index.php/Interfaces,_frontends,_and_tools\n\n\nGit itself doesn't store original file time, and with its intended use\nit would screw up mtime-based make rebuilding.\n\nHTH\n-- \nJakub Narebski\nPoland\nShadeHawk on #git\n"}]}