Skip to content
This repository has been archived by the owner on Jan 20, 2022. It is now read-only.

behave properly when root is a symlink in build-ideal-tree #210

Merged
merged 2 commits into from
Jan 27, 2021

Conversation

nlf
Copy link
Contributor

@nlf nlf commented Jan 26, 2021

this is an effort to make the ideal tree more closely resemble reality, when we know the root is a Link we should build our ideal tree also rooted on a Link so that the diffing algorithm works as expected.

as a bonus, this also removes the build-ideal-tree test specific printable tree in favor of using the now built-in toJSON method on the trees.

@isaacs isaacs force-pushed the isaacs/root-ideal-tree-symlink branch from 0b86538 to 5dfd0a1 Compare January 27, 2021 22:31
@isaacs isaacs closed this in 5dfd0a1 Jan 27, 2021
@isaacs isaacs merged commit 5dfd0a1 into main Jan 27, 2021
@wraithgar wraithgar deleted the isaacs/root-ideal-tree-symlink branch April 22, 2021 17:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants