Occasionally when working on my repo I am getting this error
fatal: cannot create directory at '': No such file or directory
When I attempt to do a diff like below using Beyond Compare 4
'git difftool master head --dir-diff'
Here is my .gitconfig file with personal information removed
[difftool "beyondcompare"]
cmd = c:\\program files\\beyond compare 4\\bcompare.exe
[core]
autocrlf = true
[difftool "bc4"]
cmd = C:/Program\\ Files/Beyond\\ Compare\\ 4/BCompare.exe \"$LOCAL\" \"$REMOTE\"
[diff]
tool = bc3
[difftool]
prompt = false
[user]
name = <REMOVED>
email = <REMOVED>
[credential "<REMOVED>"]
authority = <REMOVED>
[difftool "bc3"]
path = c:/Program Files/Beyond Compare 4/bcomp.exe
[diff]
tool = bc4
[difftool "bc4"]
cmd = \"c:/program files/beyond compare 4/bcomp.exe\" \"$LOCAL\" \"$REMOTE\"
[merge]
tool = bc4
[mergetool "bc4"]
cmd = \"c:/program files/beyond compare 4/bcomp.exe\" \"$LOCAL\" \"$REMOTE\" \"$BASE\" \"$MERGED\"
trustExitCode = true