From 04b2ac6bd91172a26e38770a7935b7e3cd7ec277 Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Mon, 28 Jun 2021 19:42:45 -0400 Subject: [PATCH] Don't normalize line endings in ransomware_targets test data On Windows, git will normalize the line endings of .txt (and other) files to crlf instead of lf. This is useful for many files, but the ransomware_target files need unmodified when they are checked out. By adding an exception in .gitattributes, the files in monkey/tests/data_for_tests/ransomware_targets are not modified on windows. --- .gitattributes | 1 + 1 file changed, 1 insertion(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 000000000..1cc8cc472 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +monkey/tests/data_for_tests/ransomware_targets/** -text