Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev Containers doubles the size of gitconfig when using shared HOME folder #10592

Open
yyashar opened this issue Dec 24, 2024 · 0 comments
Open
Assignees
Labels
containers Issue in vscode-remote containers

Comments

@yyashar
Copy link

yyashar commented Dec 24, 2024

  • VSCode Version: 1.96.0
  • Local OS Version: 1.96.0
  • Remote OS Version: rhel 8.6

Steps to Reproduce:

  1. Configure shared HOME folder with the following setting: "remoteEnv": { "HOME": "" }
  2. Use vscode to connect to the container, or reload vscode window
  3. Check the size of .gitconfig in the shared folder ($HOME/.gitconfig), it should double its previous size

It's possible to avoid it by setting "dev.containers.copyGitConfig" to false.
However, if the destination .gitconfig file is the same as the source, dev container should not copy it.

@vs-code-engineering vs-code-engineering bot added the containers Issue in vscode-remote containers label Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
containers Issue in vscode-remote containers
Projects
None yet
Development

No branches or pull requests

2 participants