summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@github.com>2016-07-24 16:10:30 -0400
committerEdward Thomson <ethomson@github.com>2016-07-24 16:10:30 -0400
commitdf87648ab87f99a7cc53bdabc8aceb01e6771dac (patch)
tree332b1c9240ecc4c16a2ce5257a162c8a2af2063d
parentb118f6479d5ceecbc64868583101c8abd356cf3b (diff)
downloadlibgit2-df87648ab87f99a7cc53bdabc8aceb01e6771dac.tar.gz
crlf: set a safe crlf default
-rw-r--r--src/crlf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/crlf.c b/src/crlf.c
index 5d7510ac7..11895b19f 100644
--- a/src/crlf.c
+++ b/src/crlf.c
@@ -289,6 +289,7 @@ static int crlf_check(
ca.eol = check_eol(attr_values[1]); /* eol */
}
ca.auto_crlf = GIT_AUTO_CRLF_DEFAULT;
+ ca.safe_crlf = GIT_SAFE_CRLF_DEFAULT;
/*
* Use the core Git logic to see if we should perform CRLF for this file