Skip to content
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

.gitattributes + linguist support? #87

Closed
daniel5151 opened this issue Oct 16, 2019 · 2 comments
Closed

.gitattributes + linguist support? #87

daniel5151 opened this issue Oct 16, 2019 · 2 comments

Comments

@daniel5151
Copy link

daniel5151 commented Oct 16, 2019

It would be nice if onefetch could parse .gitattributes and respect linguist-documentation rules.

E.g: onefetch believes that a project of mine (ANESE) is written primarily in assembly, when it's actually written entirely in C++. This is most likely caused by the large collection of .asm test files included in the repo.

Github allows marking directories / files as documentation (not code) via the linguist-documentation attribute in a repo's .gitattributes file.

See http://schacon.github.io/git/gitattributes.html and https://www.rubydoc.info/github/github/linguist for details.

@o2sh
Copy link
Owner

o2sh commented Oct 16, 2019

@daniel5151 Thank you for your issue!
onefetch relies on tokei for language detection. I've opened an issue in that regard.

@stale
Copy link

stale bot commented Aug 21, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Aug 21, 2020
@stale stale bot closed this as completed Aug 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants