Saturday, September 3, 2022

[SOLVED] Git difftool directory with bcompare

Issue

I defined my git config with git config --global diff.tool bc3

When I do git difftool --dir-diff, a becompare windows opens but I can't compare local file to remote.

  • On left panel, I see all remote files containing a difference with local files.
  • On right panel, I see theses file but only as shortcut to local file.

I can't compare a file to a shortcut. Is there a way to configure git or becompare to compare all files local to remote ?


Solution

git difftool --dir-diff will always create these symlinks when you compare something to your worktree.


There seems to be a specific setting for symlinks in Beyond Compare's menu :

https://www.scootersoftware.com/v4help/index.html?sessiondirhandling.html

  • under : Session > Session Settings > Handling
  • there should be a section : File Handling
  • with a checkbox : Follow symbolic links

Try checking that box.



Answered By - LeGEC
Answer Checked By - David Marino (WPSolving Volunteer)