A.Pissicat
A.Pissicat

Reputation: 3265

Git compare tags with bcompare

I'm trying to compare 2 git tags with bcompare.

I saw this post and this one. But it's not working.

What I've done in gitconfig :

[diff]
    tool = bc3
[difftool]
    prompt = false
[difftool "bc3"]
    cmd = \"/appli/bcompare_4.2.4/bin/bcompare\"

But when I do

git diff tag1 tag2

Differences are displayed on console. I want to see each different file in a bcompare tab. How can I do ?

Upvotes: 0

Views: 113

Answers (1)

ElpieKay
ElpieKay

Reputation: 30868

Make sure the path to bcompare in the cmd is rigth. Append $LOCAL and $REMOTE.

[difftool "bc3"]
    cmd = \"/appli/bcompare_4.2.4/bin/bcompare\" $LOCAL $REMOTE

Run git difftool tag1 tag2 to invoke the difftool.

Upvotes: 2

Related Questions