mirror of
https://git.proxmox.com/git/libgit2
synced 2025-06-03 03:26:17 +00:00
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:
parent
b0fe112922
commit
c3a875c975
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user