schdiff via git doesn't show any components
Bug #904633 reported by
Peter TB Brett
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gEDA |
Confirmed
|
Undecided
|
Alan Somers |
Bug Description
When running schdiff on a schematic that doesn't use embedded symbols, gschem reports not being able to find symbols and the resulting difference image does not contain any components. For example, in the gEDA git tree:
git difftool schdiff 0e506ebd5d5c.
This is because git stores the diff candidate files in /tmp/, away from the project configuration files that set up the component library.
tags: |
added: utilities removed: utils |
Changed in geda: | |
status: | New → Confirmed |
To post a comment you must log in.
I hacked around with the schdiff file and found that /tmp was not the real problem. Instead, it turns out that git does not respect the cwd (search for this on the web). It moves it's cwd to the top of the git tree and then opens the schematics form that cwd. The schematics files can be in /tmp.
If you make links to your gafrc and any local symbol directory at the top of the git tree, then it should work. Worked for me.
There might be a better solution using git...