Re: [RFC PATCH] checkout: Force matching mtime between files
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Apr 23, 2018, 23:41 UTC
- Message-ID
- <xmqqtvs18p9o.fsf@gitster-ct.c.googlers.com>
- In-Reply-To
- <robbat2-20180423T200557-844830385Z@orbis-terrarum.net>
"Robin H. Johnson" <robbat2@gentoo.org> writes:
Show 9 quoted lines
> On Fri, Apr 13, 2018 at 07:01:29PM +0200, Michał Górny wrote: >> Currently git does not control mtimes of files being checked out. This >> means that the only assumption you could make is that all files created >> or modified within a single checkout action will have mtime between >> start time and end time of this checkout. The relations between mtimes >> of different files depend on the order in which they are checked out, >> filesystem speed and timestamp precision. >> ... > Junio: ping for review or inclusion of this patch?
I personally did not think this is a good idea and not worth any code contamination with calls to utime(). Is there anybody sane who thought this was a good idea in the discussion thread?