summaryrefslogtreecommitdiffstats
path: root/.gitattributes
diff options
context:
space:
mode:
authorStanislav Syekirin <syekirin@gmail.com>2023-04-12 20:11:50 (GMT)
committerGitHub <noreply@github.com>2023-04-12 20:11:50 (GMT)
commit2b6e8777672da03f5d5cd12366e8378e47c550da (patch)
tree9675d6b48ab75b2221b9d3949b79ceb59394c26a /.gitattributes
parent7f3c10650385907b5a2234edb2b1334cafd47a0a (diff)
downloadcpython-2b6e8777672da03f5d5cd12366e8378e47c550da.zip
cpython-2b6e8777672da03f5d5cd12366e8378e47c550da.tar.gz
cpython-2b6e8777672da03f5d5cd12366e8378e47c550da.tar.bz2
gh-103088: Fix virtual environment activate script not working in Cygwin (GH-103470)
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes3
1 files changed, 3 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
index 1328918..cb1cf8b 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -32,6 +32,9 @@ Lib/test/test_importlib/resources/data01/* noeol
Lib/test/test_importlib/resources/namespacedata01/* noeol
Lib/test/xmltestdata/* noeol
+# Shell scripts should have LF even on Windows because of Cygwin
+Lib/venv/scripts/common/activate text eol=lf
+
# CRLF files
[attr]dos text eol=crlf