Handle broken symbolic links
I'm trying to do a diff inside a git repo. The repo has a submodule and a symbolic to that submodule inside it.
The structure could be described like this:
- submodule/ -> ./../submodule
The problem is that, when performing the diff with
git difftool, the "left" side of the comparison is missing
deps/submodule, but it has
src/submodule as a broken symbolic link. Meld outputs this error:
$ git difftool -t meld -d origin/master fatal: could not open '/tmp/git-difftool.eEcCuU/left/project/src/submodule' for writing: Not a directory
I think Meld should display broken symbolic somehow instead of throwing a fatal error.
Meld version: 3.20.4 on Arch linux.