Commit c902f5a0fffaf1d3e917d8b824e9a4fd6ad2d4ac

Jameson Miller 2012-11-01T12:11:24

Update of text stats calculation Do not interpret 0x85 as Next Line (NEL) char when gathering statistics for a text file.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/src/filter.c b/src/filter.c
index 28a0523..f2ab1b8 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++;