-
-
Notifications
You must be signed in to change notification settings - Fork 246
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(exa PR) 1136: Fix #393: add flag to dereference links #32
Conversation
Yea, looks like merging is gonna get pretty hairy. I do like how they have introduced a flag and documented it! It does still need completions. |
...and propagate it. Add the `-X`/`--dereference` flags which are used to enable dereferencing through symbolic links, similar to ls's `-L`. Added the `link_target_recurse` method in order to recursively call the existing `link_target` method to get the final target at the end of the chain of links. In order to appropriately display the final output and play nicely with existing functionality, a `deref_links` variable has been added to a few places such that it can be propagated until the time it is needed during rendering. Following commits will use this information to display dereferenced information. Signed-off-by: Christina Sørensen <[email protected]>
Signed-off-by: Christina Sørensen <[email protected]>
Signed-off-by: Christina Sørensen <[email protected]>
Signed-off-by: Christina Sørensen <[email protected]>
Signed-off-by: Christina Sørensen <[email protected]>
Signed-off-by: Christina Sørensen <[email protected]>
Signed-off-by: Christina Sørensen <[email protected]>
Signed-off-by: Christina Sørensen <[email protected]>
This was horrible. Signed-off-by: Christina Sørensen <[email protected]>
Signed-off-by: Christina Sørensen <[email protected]>
Can you check this out whenever you have time, it was a pretty big merge so I'd like to get more eyes on whether or not it's correct. |
I'm trying it out right now but it seems like it is deref'ing by default and the |
No I can reproduce it :s It shouldn't be hard to fix, I'll open an issue. |
ogham/exa#1136
todo: