]> source.dussan.org Git - jgit.git/commit
Remove an old work-around for core.autocrlf = input 90/149390/3
authorThomas Wolf <thomas.wolf@paranor.ch>
Wed, 11 Sep 2019 19:55:53 +0000 (21:55 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Thu, 12 Sep 2019 10:02:11 +0000 (12:02 +0200)
commit2e75fe6be19cd2551f29f1bb0e0175b15319984d
tree4960da92dd3a130a91a2652f138a49d87f27e6e1
parent0bfba111864decd02c324e5c80c77870b2724db6
Remove an old work-around for core.autocrlf = input

The removed code was trying to avoid mistakenly reporting differences
when core.autocrlf was set to "input" but a file had already been
committed with CR-LF. It did that by running the blob from the cache
through a CRLF-to-LF filter because older JGit would also run the file
from the working tree through such a filter.

The real fix for this case was done in commit 60cf85a. Since then files
are not normalized if they have already been committed with CR-LF and
this old fix attempt from bug 372834 is no longer needed.

Change-Id: Ib4facc153d81325cb48b4ee956a596b423f36241
Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
org.eclipse.jgit/src/org/eclipse/jgit/treewalk/WorkingTreeIterator.java