Print the root path relative to the initial root#758
Open
9999years wants to merge 1 commit intoCanop:mainfrom
Open
Print the root path relative to the initial root#7589999years wants to merge 1 commit intoCanop:mainfrom
9999years wants to merge 1 commit intoCanop:mainfrom
Conversation
Owner
|
Can you please explain what you want to achieve and why ? |
Contributor
Author
|
Yes, I'll mark it ready for review once I have an explanation :) |
6d24ca1 to
4be8d8b
Compare
Contributor
Author
|
Relative paths are nice and I want to see them instead of absolute paths most of the time. I'm also developing a I could also patch the snapshot testing framework to be able to ignore specific regions of the screenshots, as I've proposed here, but I wouldn't like to have to manually draw out those regions. PS Thank you very much for Broot, it's very nice! |
4be8d8b to
acecaf4
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Allow printing the root path (the top line in the tree view) as relative to the directory
brootis launched in.This is supported in the usual manners:
--root-relative-pathroot-relative-path:toggle_root_relativeHere's how it looks, showing a sub-directory of the launch directory:
And showing a sibling of the launch directory: