bc4 won't launch from git difftool

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • loungeflyz
    New User
    • Jan 2016
    • 2

    bc4 won't launch from git difftool

    Hi there,

    I'm on bc4 4.1.3 and am having issues configuring git for launching bc4 with git difftool.

    I have the following git config set (that i found in this forum):

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


    When i run "git difftool foo.txt" BC doesnt launch. I have confirmed that if i just type bcomp or bcompare from the command line it opens BC correctly.

    Any ideas?
  • Aaron
    Team Scooter
    • Oct 2007
    • 16000

    #2
    Hello,

    Different version of Git have varying support for how they will allow tools to be called, but the best set of instructions we have found are documented here:
    http://www.scootersoftware.com/suppo...kb_vcs_osx#git
    Aaron P Scooter Software

    Comment

    • loungeflyz
      New User
      • Jan 2016
      • 2

      #3
      Thanks Aaron,

      Turns out it was a problem between the keyboard and the chair

      Just running "git difftool foo.txt" won't work if that file has not changed from the last commit. If the file is different then it will launch the diff tool. Once i made one change to the file and ran it BC fired up correctly.

      Thanks.

      Comment

      Working...