Announcement

Collapse
No announcement yet.

bc4 won't launch from git difftool

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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?

  • #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


    • #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...
      X