If the global scope git config (~/gitconfig) is an empty file, it cannot be attached to a dev container. #10084
Labels
bug
Issue identified by VS Code Team member as probable bug
containers
Issue in vscode-remote containers
Attachment failed when starting devcontainer after removing all globally scoped git settings.
This only occurs when the git config file (~/.gitconfig) is an empty file.
It does not occur if there is no file or if the file is more than 1 byte.
Steps to Reproduce:
https://code.visualstudio.com/docs/devcontainers/create-dev-container#_create-a-devcontainerjson-file
mv ~/.gitconfg{,.back.devcontainer}
touch ~/.gitconfig
result:
Does this issue occur when you try this locally?: Yee
Does this issue occur when you try this locally and all extensions are disabled?: Yes
The text was updated successfully, but these errors were encountered: