Commit da0bfb67 by Russell Belfer

Merge pull request #1036 from jamill/text_stat

Update of text stats calculation
parents 7ae73e94 c902f5a0
...@@ -33,10 +33,6 @@ void git_text_gather_stats(git_text_stats *stats, const git_buf *text) ...@@ -33,10 +33,6 @@ void git_text_gather_stats(git_text_stats *stats, const git_buf *text)
else if (c == '\n') else if (c == '\n')
stats->lf++; stats->lf++;
else if (c == 0x85)
/* Unicode CR+LF */
stats->crlf++;
else if (c == 127) else if (c == 127)
/* DEL */ /* DEL */
stats->nonprintable++; stats->nonprintable++;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment