]> git.ipfire.org Git - thirdparty/git.git/commit - diffcore-delta.c
diffcore-delta.c: Ignore CR in CRLF for text files
authorJunio C Hamano <gitster@pobox.com>
Fri, 29 Jun 2007 06:14:13 +0000 (23:14 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sun, 1 Jul 2007 03:51:31 +0000 (20:51 -0700)
commitb9905fed7a028cc9749cf8ad479cbb07940c8638
tree62122a630a8871f2f3e63a54a744b25285a7ccb6
parentaf3abef94af9c821a0c192c693c3e5342ab8729f
diffcore-delta.c: Ignore CR in CRLF for text files

This ignores CR byte in CRLF sequence in text file when
computing similarity of two blobs.

Usually this should not matter as nobody sane would be checking
in a file with CRLF line endings to the repository (they would
use autocrlf so that the repository copy would have LF line
endings).

Signed-off-by: Junio C Hamano <gitster@pobox.com>
diffcore-delta.c
t/t0022-crlf-rename.sh [new file with mode: 0755]