Re: git check out file time

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tong Sun <suntong001@xxxxxxxxx> writes:

> Quick Q, is it possible to keep the original file time from the git
> server when checking out / cloning a local repo?
> 
> When I did
> 
>  git clone git://git.remote...
> 
> All my local git files are set to the check out time.
> 
> Please help and CC me when replying.

Only with third-party extra tools such as Metastore (or etckeeper that
uses it), or git-cache-meta (or IsiSetup), see
  https://git.wiki.kernel.org/index.php/Interfaces,_frontends,_and_tools


Git itself doesn't store original file time, and with its intended use
it would screw up mtime-based make rebuilding.

HTH
-- 
Jakub Narebski
Poland
ShadeHawk on #git
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]