Skip to content

Commit 99e40ad

Browse files
authored
set autocrlf to false in containers (#232)
`core.autocrlf = true` is a common pitfall when edk2 developers create a new file. It is always suggested to have this git config value turned off when developing EDKII UEFI firmware. Updates the container to have this git config set as expected.
1 parent fb1c095 commit 99e40ad

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.sync/devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"image": "ghcr.io/microsoft/mu_devops/ubuntu-22-dev:latest",
3-
"postCreateCommand": "git config --global --add safe.directory '*' && pip install --upgrade -r pip-requirements.txt",
3+
"postCreateCommand": "git config --global --add safe.directory '*' && git config --global --add core.autocrlf false && pip install --upgrade -r pip-requirements.txt",
44
"customizations": {
55
"vscode": {
66
"extensions": [

0 commit comments

Comments
 (0)