Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2018

    Default Problem when comparing directories with git

    I am trying to use BC to compare to two git commit, but files are not aligned in the comparison view, e.g. there is a file main.cpp on the left and on the right, but they appear on different lines. The file on the right looks like a link and when I open it, I only get the filename again.

    I am calling BC with:

    git difftool --dir-diff  HEAD~3
    My .gitconfig looks like this (taken from , second post by Aaron) :

        tool = bcomp
        prompt = false
    [difftool "bcomp"]
        trustExitCode = true
        cmd = "/usr/local/bin/bcomp" "$LOCAL" "$REMOTE"
        tool = bcomp
        prompt = false
    [mergetool "bcomp"]
        trustExitCode = true
        cmd = "/usr/local/bin/bcomp" "$LOCAL" "$REMOTE" "$BASE" "$MERGED"

  2. #2
    Join Date
    Oct 2007
    Madison, WI



    The unaligned files have the same names, but one has a tiny arrow icon, correct? Those would be symlinks. You'll need to enable the Session menu -> Session Settings, Handling tab: Follow symbolic links. This can be for the current view, or update the bottom dropdown with -> Also update session defaults before clicking Ok.
    Aaron P Scooter Software

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts