I am using VSCode as my git difftool editor.
When I run git difftool, it opens up a separate window for each modified file. Here is the command it is running:
code --wait --new-window --diff $LOCAL $REMOTE
Once for each file it opens, it gives me a pop-up dialog asking if I ask trust the authors in this workspace. (I don't know what workspace it could even be asking about, since the editor comes up without a workspace or folder open.) Screen shot of this pop-up is at the bottom of this post.
I don't want to have to deal with that pop-up every time, for every file.
Since I'm just using it in this mode to view and edit files, I don't need the workspace trusted.
I could pass in --disable-workspace-trust when I start up Code from git, but that feels unsafe.
If I use the flag --reuse-window instead of --new-window, and if I happen to have a trusted workspace open, it won't give me the pop-up. If I don't have a workspace open, it still gives me the pop-up for every file.
Do I have any other options for getting rid of the pop-up?
