git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git > 2.10.1 fails to update index on macOS 10.14.5

From
JSJonathan Smalls <jon@smalls.rocks>
Date
Mar 30, 2020, 11:20 UTC
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)
Previous: brian m. carlson
Message 5 of 5 in “git > 2.10.1 fails to update index on macOS 10.14.5”
  1. Jonathan SmallsMar 23, 2020
  2. brian m. carlsonMar 23, 2020
  3. Jonathan SmallsMar 24, 2020
  4. brian m. carlsonMar 24, 2020
  5. Jonathan SmallsMar 30, 2020

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.