SourceTree and allspice.io diff tool

Inbrooll - Maria Senyer
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 13, 2025

Hello community, 

I hope someone can help me with this problem.

I am using SourceTree latest version (as of 13/01/2025)  v3.4.21 and I have a problem while using a third-party tool that helps me see grpahically the diffs between versions for PCB files in Altium (.SchDoc and .PcbDoc). 

The tool is allspice.io diff tool (https://allspice.io/diff-tool). 

I could install the tool in my Windows11 machine with no problems. 

The configuration for this tool states:

"

 

Configure for Git Bash

After the install, you can add a text file named .gitattributes with the following line to the top level of any Git directory you want to enable allspice.io diff in:

*.schdoc diff=allspice
*.pcbdoc diff=allspice

After this, you can run Git diff just as you would with text-based files.

"

 

Now, after implementing this configuration to one of my Git directories, I can perfectly see any *.SchDoc and the diff as promised by allspice in SourceTree.

If I want to see *.PcbDoc files I cannot see them, unless I press the "External Diff" button. 

Why is that ???

 

My .gitattributes file is:

*.pcbdoc diff=allspice
*.schdoc diff=allspice
*.PcbDoc diff=allspice
*.SchDoc diff=allspice

 

 

And my .gitconfig file is:

[user]
email = user@gmail.com
name = User Name

[diff "allspice"]
command = 'C:/Users/MariaSenyer/AppData/Local/Programs/allspice/resources/bin/diff.sh'
[difftool "sourcetree"]
cmd = "'' "

[mergetool "sourcetree"]
cmd = "'' "
trustExitCode = true

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events