YCM-Generator icon indicating copy to clipboard operation
YCM-Generator copied to clipboard

Ignores ssh-agent when updating SSH based git submodules from cmake

Open codemedic opened this issue 8 years ago • 1 comments

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?

codemedic avatar Sep 06 '17 06:09 codemedic

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.

rdnetto avatar Sep 07 '17 11:09 rdnetto