[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jgit-dev] autocrlf=input with CRLF in repository does not behave like C Git

Hey,

In the last few days, I've had several developers complain to me
about this, and I suspect that e.g. EGit is losing users because
of this.

The problem: When there are files in the repository that use CRLF,
and the user has "core.autocrlf" set to "input", all these files
are detected as modified (in IndexDiff).

C Git behaves as expected and does not show any changes.

Here's the bug report about this, with a failing test case:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=372834

I would really appreciate it if someone familiar with the
DirCacheEntry code could take a look.

Cheers,
  Robin Stocker