From: Geert Bosch Date: Mon, 25 Apr 2005 18:13:43 GMT Subject: Re: mod-times (was: keyword expansion) Message-ID: <3741014dfd79fce50999dc19d7029c40@adacore.com> In-Reply-To: <200504251756.j3PHuSh01362@unix-os.sc.intel.com> On Apr 25, 2005, at 13:56, tony.luck@intel.com wrote: >> - Time stamp of the last modification of a file > > One way to do this would be to rip on some of the core fundamentals of > GIT > and store the time that an object was created inside the object. E.g. > > blob size secs-since-1970 ... > > Then "read-tree" could fill this into the cache, and checkout-cache > could > set the mod-time on the file when it creates it, which would mean that > you > could see the timestamp for a file simply by using "ls -l file". Of course this negates the idea of content-based storage, since you want two copies of the same content with different time-stamps to share the same blob. -Geert