From: Jonathan Nieder Date: Mon, 06 Dec 2010 17:51:03 GMT Subject: Re: git reset and ctime Message-ID: <20101206175102.GC6272@burratino> In-Reply-To: <1291657037.30271.17.camel@drew-northup.unet.maine.edu> Drew Northup wrote: > On Fri, 2010-12-03 at 18:51 -0600, Jonathan Nieder wrote: >> Interesting. Setting "[core] trustctime = false" in the repository >> configuration could be a good solution (no performance downside I can >> think of). > > It is worth noting that many file-based backup systems which do "online" > backups (such as in use where I work) restore the atime by default at > the expense of the ctime (logic being that the atime may have had value > and the ctime changes either way--which may or may not be true) on unix > style filesystems. So have you tried putting "[core] trustctime = false" in /etc/gitconfig? This is exactly what the setting is for, after all. Ideas for making this easier to find (FAQ on the git wiki? advice from porcelain when ctime-only changes happen?) would be welcome, of course.