Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jgit-dev] Modification status

That's strange. I never saw this.

Regarding cache: Yes, there is a cache. It called "the git index" :-).
But there is nothing what you expect, a in memory cache of file
content/metadata. IndexDiff will compare the files modification date
and length to what is "cached" in git's index. If both are the same
(and if the file is not "racily clean / smudged") then git will think
the file does not differ to what we have in index.

Can you share the repo?
Can you attach the output of the following command executed in your
repo: "org.eclipse.jgit.pgm-3.5.1.201410131835-r.sh
debug-show-dir-cache"
Can you attach the output of the following command executed in your
repo: "git config -l" (Be careful not to expose secret data here and
delete passwords etc)
Does your repo contain .gitattributes?


Back to the top