Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2016
    Posts
    2

    Default Troubles integrating with git

    Of course the standard configuration of git works just fine since it appears that support as a difftool is built in to git now.

    Unfortunately, unless I'm missing something, the standard bc3 difftool setup does not give the two files titles so it takes a few moments to figure out which file is the modified file and which is the original file from the repo.

    So to address this I changed the command to add -lefttitle= and -righttitle= as shown in my included .gitconfig file

    Code:
    [core]
            editor = gedit -w -s
    [diff]
            tool = beyondcompare4
    [difftool]
            prompt = false
    [difftool "beyondcompare4"]
            cmd = bcompare -title1="Hello 1" -title2="Hello 2" "$LOCAL" "$REMOTE"
    [merge]
            tool = beyondcompare4
    [mergetool]
            prompt = false
    [mergetool "beyondcompare4"]
            trustExitCode = true
            cmd = bcompare $LOCAL $REMOTE $BASE $MERGED
    When I do this, beyond compare always opens as a 3 way merge instead of the expected diff. Doing the same operation from the command line has the expected results with a proper diff view and the files titles set to my silly example.

    What am I missing?

  2. #2
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    11,949

    Default

    The latest version of BC4 has a bug with the -title1 parameters. We've got an open tracker entry to investigate and fix. I actually suspect that once fixed, you won't need a manual workaround; the original built-in support will start working.
    Aaron P Scooter Software

  3. #3
    Join Date
    Mar 2016
    Posts
    2

    Default

    That is good news Aaron. I tried to do a search to see if this was a known issue and had no luck. Thanks for answering kindly.

  4. #4
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    4,759

    Default

    The -title1 and related switches bug on Linux is fixed in Beyond Compare 4.1.6.
    Chris K 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
  •