aboutsummaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
authorArmando Montanez <amontanez@google.com>2020-11-05 15:10:53 -0800
committerCQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com>2020-11-06 00:08:36 +0000
commit27b3700050f6440ad09b5253e857f31771aff2c8 (patch)
tree4ff0d35932c166e0a7ab4308cb746326b2dd1e6e /.gitattributes
parentb50791708d31533e8385b622fb8026d864d575cd (diff)
downloadpigweed-27b3700050f6440ad09b5253e857f31771aff2c8.tar.gz
pw_env_setup: use CRLF on Windows
Switches the bootstrap/activate batch scripts to use CRLF on windows, as just LF breaks things. Change-Id: Icbc74a2ba03df80a44c185eea83d7fa3463bdd6c Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/23745 Reviewed-by: Rob Mohr <mohrr@google.com> Commit-Queue: Armando Montanez <amontanez@google.com>
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes2
1 files changed, 2 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 000000000..a9a504ae9
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,2 @@
+# Force batch scripts to use CRLF.
+*.bat text eol=crlf