From: Jonathan Smalls Date: Mon, 30 Mar 2020 11:20:35 GMT Subject: Re: git > 2.10.1 fails to update index on macOS 10.14.5 Message-ID: <909fa74a-2310-c744-6b85-fac3a5bd5081@smalls.rocks> In-Reply-To: <20200324235934.GI6499@camp.crustytoothpaste.net> I also need to specify, it looks like I was on git version 2.21.0, not 2.22.0. On 3/24/20 19:59, brian m. carlson wrote: > Does running "ls -l" on the file before and after show different > timestamps and file sizes? Changing the index file updated the file modification time appropriately. -- Mar30 0715.19 [jsmalls:~/Documents … c310/lorenzCurve] master+ >> vim index.py Mar30 0715.31 [jsmalls:~/Documents … c310/lorenzCurve] master+ 8s >> ls -l total 56 -rw-r--r-- 1 jsmalls staff 1650 Mar 30 07:15 index.py -rw-r--r--@ 1 jsmalls staff 16878 Mar 29 20:10 lorenzCurve.png -rw-r--r--@ 1 jsmalls staff 1800 Mar 26 09:05 pop2010.npy Does "git config -l | grep -iE 'checkstat|ctime'" > show anything? Can you use the stat(1) command to tell us whether the > change results in a device or inode number change (if that's possible > using the macOS version)? The git config command returns an empty result. I am not sure what I should see in the stat command, but I have included the result here. -- Mar30 0715.40 [jsmalls:~/Documents … c310/lorenzCurve] master+ >> git config -l | grep -iE 'checkstat|ctime' Mar30 0716.19 [jsmalls:~/Documents … c310/lorenzCurve] master+ 1 >> stat 1054203952 723 crw--w---- 1 jsmalls tty 268435456 0 "Mar 30 07:16:43 2020" "Mar 30 07:16:43 2020" "Mar 30 07:16:43 2020" "Dec 31 19:00:00 1969" 131072 0 0 (stdin)