Skip to content
This repository has been archived by the owner on Aug 30, 2020. It is now read-only.

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

Open
codemedic opened this issue Sep 6, 2017 · 1 comment
Open

Comments

@codemedic
Copy link

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?

@rdnetto
Copy link
Owner

rdnetto commented Sep 7, 2017

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants