summaryrefslogtreecommitdiff
path: root/src/filter.h
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2018-12-03 13:35:30 -0800
committerEdward Thomson <ethomson@edwardthomson.com>2018-12-03 17:02:10 -0800
commitef8f8ec604035142916271178b009f57faf1877a (patch)
treeb5836ab7f84946055777ca5c9c1aa0c207215410 /src/filter.h
parent59b054cb7efbfa97153f3d4dc0ab22c9ded31a22 (diff)
downloadlibgit2-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.h10
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;