YCM-Generator
YCM-Generator copied to clipboard
Ignores ssh-agent when updating SSH based git submodules from cmake
When invoking :YcmGenerateConfig, if there are any git submodules that are setup with ssh based access, it doesn't seem to be able to access the ssh-agent.
Most likely it is down to the way the command is invoked; is it inside a pristine shell/env?
Most likely it is down to the way the command is invoked; is it inside a pristine shell/env?
That's exactly right. You can disable this functionality using --preserve-environment. The reason it's turned on by default is to avoid any variables that might set the compiler from overriding the fake toolchain.