On Mon, Jun 05, 2017 at 11:27:45PM +0200, Ævar Arnfjörð Bjarmason wrote:

> On Mon, Jun 5, 2017 at 11:14 PM, Hector Santos
> <winserver.supp...@winserver.com> wrote:
> > I'm implementing GIT.  If there an option or compile/version that "keep"
> > file timestamps?
> 
> The git datamodel stores files as a list of names and whether or not
> they have the executable bit.
> 
> If you need to set the ctime/mtime/whatever on the other side you'd do
> that via some script you'd ship with your repository.

There are existing scripts which implement this approach, like
metastore:

  https://github.com/przemoc/metastore

I haven't used it, but I think it's fairly mature, as it has been around
since the early days of Git.

-Peff

Reply via email to