Using bcompare as git diff tool in cygwin

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ncoronado
    Visitor
    • Apr 2018
    • 5

    Using bcompare as git diff tool in cygwin

    Beyond Compare 4.1.9
    git version 2.16.2

    I updated my git config with the commands below.

    Code:
    git config --global diff.tool bc3
    git config --global difftool.bc3.trustExitCode true
    Code:
    git difftool -y HEAD~ HEAD test.c
    I get the following error.

    The diff tool bc3 is not available as 'bcompare'
  • ncoronado
    Visitor
    • Apr 2018
    • 5

    #2
    I found out the problem. I needed to set the config option below.

    Code:
    git config --global difftool.bc3.cmd ""c:/program files/beyond compare 4/bcomp.exe" "$LOCAL" "$REMOTE""

    Comment

    • Aaron
      Team Scooter
      • Oct 2007
      • 16002

      #3
      Hello,

      Generally, the first documentation is what would work, but the method you are using is the older style used (manual definition):
      http://www.scootersoftware.com/suppo...vcs#gitwindows

      All BC 4.x updates are free for 4.x users. Also, depending on if you are using Git or GitHub can vary:
      http://www.scootersoftware.com/suppo...#githubwindows
      Aaron P Scooter Software

      Comment

      Working...