-
Notifications
You must be signed in to change notification settings - Fork 884
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
Add setting to show only version controlled files #1343
Conversation
In reference to issue #1074.
Is this still under development as I see the account associated with ghost account now |
We'll shepherd the change if we agree it's necessary/an improvement. Not a priority tbh. |
Just my 2 cents, if that's OK. I often visit my project GitHub page only to preview my repository files which helps to provide a better perception of how files are structured and laid-out rather than listing those under my local repository, which is usually, polluted of dependencies and built files. Being able to display only staged files would really help to eliminate the need of that and improve the notion of ones overall project structure. I believe it could be a great addition. |
We welcome the comments, means there's actual interest in the feature. However, to be quite honest, we currently don't have much time to add features. The quickest way for this to get accepted is for someone to pick up the work. Feel free to join #ranger@freenode if you want some guidance on contributing to ranger. |
It could be implemented with our filter stack. Run I can do this later, sounds useful. |
Ah, I only now noticed it's a PR, not an issue. Well then, even better. Should be pretty easy to turn it into a filter for filter stack. I'd strongly suggest it. |
Can we merge this or I can re raise as the account has already been into ghost and work on issues if any. |
@vifon, I'm deferring to you since |
I'd rather see it implemented as a |
With an implementation in filter_stack, does it make sense to have something like this for |
I'm leaning towards the second option. Maybe drop the "_aware". |
Issue #1074.
Adds a setting "vcs_filter" which can be set to "untracked" in order to hide untracked files. Feature is incomplete.
ISSUE TYPE
RUNTIME ENVIRONMENT
CHECKLIST
CONTRIBUTING
document has been read [REQUIRED]DESCRIPTION
Setting "vcs_filter" to "untracked", and then refiltering the directory with
reload_cwd
oreval fm.thisdir.refilter()
, will hide untracked files in a version-controlled repository. I'm stuck on how to get past this limitation. If someone is interested in this feature and willing to help, we can try to complete it. You can use "set vcs_filter" (and reload) to unset the filter. And since it was no extra work, you can set "vcs_filter" to "sync" to hide all unchanged, tracked files, and "changed" to hide all changed, tracked files.MOTIVATION AND CONTEXT
Issue #1074 requests a setting to toggle visibility of untracked files in repositories.
TESTING
Passed make test in Python 2.