Skip to content
This repository has been archived by the owner on May 30, 2024. It is now read-only.

Suggestion: Hide .gitkeep files #81

Closed
Alexejhero opened this issue Jul 6, 2019 · 2 comments
Closed

Suggestion: Hide .gitkeep files #81

Alexejhero opened this issue Jul 6, 2019 · 2 comments

Comments

@Alexejhero
Copy link

Alexejhero commented Jul 6, 2019

Cross-posted from refined-github/refined-github#2208


Suggestion

In some repos, there may be empty folders containing a .gitkeep file. This is usually done so that the folders appear in the repo, even though they dont contain any files (maybe the folders themselves store information in their name).

The link to open the folder is redundant because inside it there is only a 0 KB .gitkeep file.

Refind github could check if there is only one file in the folder and if it has 0 KB, and if that is the case, completely remove the link to open the folder.

Example URL

https://github.com/AlexejheroYTB/Dlockly/tree/master/blocks/custom

Example of folder that this could apply to: 002 [sep]'

Images

This feature could look something like this:

image

@Alexejhero Alexejhero changed the title Suggestion: Hide .gitignore files Suggestion: Hide .gitkeep files Jul 6, 2019
@fregante
Copy link
Collaborator

Just one problem: this would require an API call, which would slow down the hiding. Currently it's great because you never see the list of files. #78

@fregante
Copy link
Collaborator

fregante commented Aug 8, 2019

Closing for that reason, it would require a rewrite that would make it slower

@fregante fregante closed this as completed Aug 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants