Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2016
    Posts
    2

    Default 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. #2
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    11,618

    Default

    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

  3. #3
    Join Date
    Jan 2016
    Posts
    2

    Default

    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.

Tags for this Thread

Posting Permissions

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