From c902f5a0fffaf1d3e917d8b824e9a4fd6ad2d4ac Mon Sep 17 00:00:00 2001 From: Jameson Miller Date: Thu, 1 Nov 2012 12:11:24 -0400 Subject: [PATCH] Update of text stats calculation Do not interpret 0x85 as Next Line (NEL) char when gathering statistics for a text file. --- src/filter.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/filter.c b/src/filter.c index 28a05235b..f2ab1b85a 100644 --- a/src/filter.c +++ b/src/filter.c @@ -33,10 +33,6 @@ void git_text_gather_stats(git_text_stats *stats, const git_buf *text) else if (c == '\n') stats->lf++; - else if (c == 0x85) - /* Unicode CR+LF */ - stats->crlf++; - else if (c == 127) /* DEL */ stats->nonprintable++;