diff options
author | Russell Belfer <rb@github.com> | 2012-07-11 02:20:08 +0400 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2012-07-11 10:19:47 +0400 |
commit | c3a875c975cde11ffd18947c419b1cd38205e6c3 (patch) | |
tree | cba520df9725fedccb6ba390d17529f83c4b6263 /src/util.h | |
parent | b0fe11292219f5d63f2159e0b0eb24ff21d66b10 (diff) |
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.
Diffstat (limited to 'src/util.h')
-rw-r--r-- | src/util.h | 2 |
1 files changed, 1 insertions, 1 deletions
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) |