diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2018-12-03 13:35:30 -0800 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2018-12-03 17:02:10 -0800 |
commit | ef8f8ec604035142916271178b009f57faf1877a (patch) | |
tree | b5836ab7f84946055777ca5c9c1aa0c207215410 /src/filter.h | |
parent | 59b054cb7efbfa97153f3d4dc0ab22c9ded31a22 (diff) | |
download | libgit2-ef8f8ec604035142916271178b009f57faf1877a.tar.gz |
crlf: update to match git's logic
Examine the recent CRLF changes to git by Torsten Bögershausen and
include similar changes to update our CRLF logic to match.
Note: Torsten Bögershausen has previously agreed to allow his changes to
be included in libgit2.
Diffstat (limited to 'src/filter.h')
-rw-r--r-- | src/filter.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/filter.h b/src/filter.h index b1c403ba9..34081fb4a 100644 --- a/src/filter.h +++ b/src/filter.h @@ -15,16 +15,6 @@ /* Amount of file to examine for NUL byte when checking binary-ness */ #define GIT_FILTER_BYTES_TO_CHECK_NUL 8000 -/* Possible CRLF values */ -typedef enum { - GIT_CRLF_GUESS = -1, - GIT_CRLF_BINARY = 0, - GIT_CRLF_TEXT, - GIT_CRLF_INPUT, - GIT_CRLF_CRLF, - GIT_CRLF_AUTO, -} git_crlf_t; - typedef struct { git_attr_session *attr_session; git_buf *temp_buf; |