Issues in configuring IntelliJ as git diff and merge tool in Windows
Hi,
I am facing issues/warning while configuring Intellij diff viewer/merge tool as external diff merge tool for git from command line. I m using following configuration and getting warning in my git bash - mingw64 shell. So I was wondering whether I am configuring that correctly or I m missing. Any help will be appreciated.
[mergetool "intellij"]
cmd = "C:/Program\\ Files/JetBrains/IntelliJ\\ IDEA\\ Community\\ Edition\\ 2018.1.3/bin/idea64.exe" merge \"$LOCAL\" \"$REMOTE\" \"$BASE\" \"$MERGED\"
trustExitCode = true
[diff]
tool = intellij
[difftool "intellij"]
cmd = "C:/Program\\ Files/JetBrains/IntelliJ\\ IDEA\\ Community\\ Edition\\ 2018.1.3/bin/idea64.exe" diff \"$LOCAL\" \"$REMOTE\"
Warnings on gitbash
Launch 'intellij' [Y/n]? y
Aug 02, 2018 11:33:26 AM java.util.prefs.WindowsPreferences <init>
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
Please sign in to leave a comment.
I forgot to mention that it is opening the diff viewer correctly but I m afraid that it will corrupt something since its giving sign of warning
The error does not seem to be specific for IntelliJ. See https://stackoverflow.com/questions/16428098/groovy-shell-warning-could-not-open-create-prefs-root-node