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

I posted a patch there. I'd be nice if someone on Windows would test
it.

-- robin

----- Ursprungligt meddelande -----
> FrÃn: "Robin Stocker" <robin@xxxxxxxxx>
> Till: "JGit Developers list" <jgit-dev@xxxxxxxxxxx>
> Skickat: torsdag, 5 dec 2013 15:15:47
> Ãmne: [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
> _______________________________________________
> jgit-dev mailing list
> jgit-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/jgit-dev
>