Commit df87648ab87f99a7cc53bdabc8aceb01e6771dac

Edward Thomson 2016-07-24T16:10:30

crlf: set a safe crlf default

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/src/crlf.c b/src/crlf.c
index 5d7510a..11895b1 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