]> source.dussan.org Git - jgit.git/commit
Rename detection should canonicalize line endings 12/38912/1
authorMarc Strapetz <marc.strapetz@syntevo.com>
Thu, 30 Oct 2014 18:36:49 +0000 (19:36 +0100)
committerMatthias Sohn <matthias.sohn@sap.com>
Fri, 2 Jan 2015 22:23:22 +0000 (23:23 +0100)
commit1cb566844116fc280969e4a89be8fa1c6e3a7d72
treee2b523768e18d767a958b86d4bfb3ab69872978a
parentc053900c5bc89d2b55c563e04bc1edab53cdc143
Rename detection should canonicalize line endings

Native Git canonicalizes line endings when detecting
renames, more specifically it replaces CRLF by LF.
See: hash_chars in diffcore-delta.c

Bug: 449545
Change-Id: Iec2aab12ae9e67074cccb7fbd4d9defe176a0130
Signed-off-by: Marc Strapetz <marc.strapetz@syntevo.com>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.jgit.test/tst/org/eclipse/jgit/diff/SimilarityIndexTest.java
org.eclipse.jgit/src/org/eclipse/jgit/diff/SimilarityIndex.java