andy-5 / wslgit

Use Git installed in Bash on Windows/Windows Subsystem for Linux (WSL) from Windows and Visual Studio Code (VSCode)
MIT License
1.18k stars 59 forks source link

Commit message empty #67

Closed phifa closed 5 years ago

phifa commented 5 years ago

image

My git log shows empty git messages when I commited code via VS Code. When I used wsl bash/zsh directly, the commit messages work.

andy-5 commented 5 years ago

This looks similar to https://github.com/andy-5/wslgit/issues/38, please try one of the possible solutions posted in https://github.com/andy-5/wslgit/issues/38#issuecomment-416494102.

If that does not help:

phifa commented 5 years ago

OK, got it working, I added WSLGIT_USE_INTERACTIVE_SHELL false to my windows user environmental variables. FYI I use zsh, that seemed to cause problems, as bash worked fine. Thanks

andy-5 commented 5 years ago

Great!