Re: Git on Windows maps creation time onto changed time

2018-02-02 Thread Johannes Schindelin
Hi Keith, On Fri, 2 Feb 2018, Keith Goldfarb wrote: > > On Feb 2, 2018, at 1:18 PM, Johannes Schindelin > > wrote: > > > > You cannot assume that the inode numbers are identical between file > > systems/operating systems. That's simply not going to work. > > Yes,

Re: Git on Windows maps creation time onto changed time

2018-02-02 Thread Keith Goldfarb
> On Feb 2, 2018, at 1:18 PM, Johannes Schindelin > wrote: > > You cannot assume that the inode numbers are identical between file > systems/operating systems. That's simply not going to work. Yes, I agree with you, I cannot assume this, so I checked. In my case,

Re: Git on Windows maps creation time onto changed time

2018-02-02 Thread Johannes Schindelin
Hi Keith, On Fri, 2 Feb 2018, Keith Goldfarb wrote: > > The purpose of these values is to allow to notice a change on the file > > system without going through the actual file data. Duplicating > > st_mtime would be pointless. > > Well, I agree with the first statement. I disagree with the 2nd.

Re: Git on Windows maps creation time onto changed time

2018-02-02 Thread Keith Goldfarb
> The purpose of these values is to allow to notice a change on the file system > without going through the actual file data. Duplicating st_mtime would be > pointless. Well, I agree with the first statement. I disagree with the 2nd. It’s not pointless to fix a problem, and in theory the

Re: Git on Windows maps creation time onto changed time

2018-02-02 Thread Johannes Sixt
Am 02.02.2018 um 00:10 schrieb Keith Goldfarb: Dear git, While tracking down a problem with a filesystem shared by Windows and Ubuntu, I came across the following code in compat/mingw.c (ming_fstat(), also in do_lstat()): if (GetFileInformationByHandle(fh, )) {

Re: Git on Windows maps creation time onto changed time

2018-02-01 Thread Ævar Arnfjörð Bjarmason
On Fri, Feb 2, 2018 at 12:10 AM, Keith Goldfarb wrote: > Dear git, > > While tracking down a problem with a filesystem shared by Windows and Ubuntu, > I came across the following code in compat/mingw.c (ming_fstat(), also in > do_lstat()): > > if