From c3a875c975cde11ffd18947c419b1cd38205e6c3 Mon Sep 17 00:00:00 2001 From: Russell Belfer Date: Tue, 10 Jul 2012 15:20:08 -0700 Subject: 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. --- src/util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/util.h') diff --git a/src/util.h b/src/util.h index adc665027..bc122332f 100644 --- a/src/util.h +++ b/src/util.h @@ -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) -- cgit v1.2.3