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

Re: Git does not handle changing inode numbers well

From
Matthijs Kooijman <matthijs@stdin.nl>
Date
Aug 8, 2012, 18:34 UTC
Message-ID
<20120808183411.GT21274@login.drsnuggles.stderr.nl>
In-Reply-To
<7vboiltglr.fsf@alter.siamese.dyndns.org>
Hi Junio,
> -	if (ce->ce_ino != (unsigned int) st->st_ino)
> +	if (trust_inum && ce->ce_ino != (unsigned int) st->st_ino)
>  		changed |= INODE_CHANGED;

I just tried this with 1.7.10 (that is, I deleted these two lines to mimic trust_inum being false) and it indeed fixes my problem.

(I'll probably won't be implementing the full patch, though, I've already figured out how to fix my filesystem instead)

Gr.
Matthijs
Previous: Junio C HamanoNext: Matthijs Kooijman
Message 3 of 4 in “Git does not handle changing inode numbers well”
  1. Matthijs KooijmanAug 8, 2012
  2. Junio C HamanoAug 8, 2012
  3. Matthijs KooijmanAug 8, 2012
  4. Matthijs KooijmanAug 8, 2012

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.