diff.rs icon indicating copy to clipboard operation
diff.rs copied to clipboard

Hide files and subtrees without any changes

Open SwishSwushPow opened this issue 1 year ago • 1 comments

I think this has changed as part of the tailwind rewrite. Files and directories that don't include any changes are shown now, but I think they should be hidden again. I had my first look at the project today and just put together this small PR: https://github.com/xfbs/diff.rs/pull/43

SwishSwushPow avatar Oct 13 '24 17:10 SwishSwushPow

I took #43 and expanded it slightly to add a button, now we can hide unchanged files + folders:

Screenshot from 2024-10-14 00-15-33

However, this currently is not the default (because it would break another workflow, which is to use diff.rs to view a crate's contents, which is used by cargo-vet).

xfbs avatar Oct 13 '24 22:10 xfbs

Forgot to close this issue. Thanks for adding the button! :)

SwishSwushPow avatar May 27 '25 06:05 SwishSwushPow