Adding unicode space to match crlf patterns

Adding 0x85 to `git__isspace` since we also look for that in filter.c
as a whitespace character.
This commit is contained in:
Russell Belfer 2012-07-10 15:20:08 -07:00
parent b0fe112922
commit c3a875c975

View File

@ -206,7 +206,7 @@ GIT_INLINE(bool) git__isalpha(int c)
GIT_INLINE(bool) git__isspace(int c)
{
return (c == ' ' || c == '\t' || c == '\n' || c == '\f' || c == '\r' || c == '\v');
return (c == ' ' || c == '\t' || c == '\n' || c == '\f' || c == '\r' || c == '\v' || c == 0x85 /* Unicode CR+LF */);
}
GIT_INLINE(bool) git__iswildcard(int c)