[Top][All Lists]

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

Re: Using hash instead of timestamps to check for changes.

From: Enrico Weigelt, metux IT consult
Subject: Re: Using hash instead of timestamps to check for changes.
Date: Sat, 11 Apr 2015 17:38:27 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

On 07.04.2015 00:17, Eric Melski wrote:


> This problem is relatively common when using an SCM system that
> preserves *checkin* time on files rather than *checkout* time. 

I'd consider that a misbehavious of the SCM (IMHO, that's the reason
why Git does not track the mtime). From the filesystem perspective,
the mtime represents the time when the actual file was changed in the
filesystem. So, resetting the mtime from some SCM repo actually is
tricking the filesystem - pretty obvious that the mtime then isn't
reliable anymore.

> ClearCase
> does this in various configurations, and Perforce will if your client
> spec has "modtime" set.  I'm sure other SCM systems can be setup this
> way too.

The correct solution is to configure the SCM correctly (so it does not
artificially manipulate the mtime).

Enrico Weigelt,
metux IT consulting

reply via email to

[Prev in Thread] Current Thread [Next in Thread]