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