diff options
| author | Jameson Miller <jamill@microsoft.com> | 2012-11-01 12:11:24 -0400 |
|---|---|---|
| committer | Jameson Miller <jamill@microsoft.com> | 2012-11-01 12:26:56 -0400 |
| commit | c902f5a0fffaf1d3e917d8b824e9a4fd6ad2d4ac (patch) | |
| tree | ec0df82a90552de0cbe60661b5115a2c7a53a4f5 | |
| parent | 7ae73e94dbbb4249f26dd5d0a21d25e1dc4667ca (diff) | |
| download | libgit2-c902f5a0fffaf1d3e917d8b824e9a4fd6ad2d4ac.tar.gz | |
Update of text stats calculation
Do not interpret 0x85 as Next Line (NEL)
char when gathering statistics for a text file.
| -rw-r--r-- | src/filter.c | 4 |
1 files changed, 0 insertions, 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++; |
