mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-26 07:46:21 +02:00
* Don't show cycles, they're not very useful.
This commit is contained in:
parent
e4d4969ae9
commit
1029716a8a
1 changed files with 4 additions and 2 deletions
|
@ -108,8 +108,10 @@ void printDotGraph(const PathSet & roots)
|
|||
for (PathSet::iterator i = references.begin();
|
||||
i != references.end(); ++i)
|
||||
{
|
||||
workList.insert(*i);
|
||||
cout << makeEdge(*i, path);
|
||||
if (*i != path) {
|
||||
workList.insert(*i);
|
||||
cout << makeEdge(*i, path);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue