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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse .gitattributes #1250

Open
AUnicornWithNoLife opened this issue Jan 8, 2024 · 1 comment
Open

Parse .gitattributes #1250

AUnicornWithNoLife opened this issue Jan 8, 2024 · 1 comment
Labels
enhancement New feature or request upstream

Comments

@AUnicornWithNoLife
Copy link

Summary 馃挕

.gitattributes overides what language a file extension is mapped to

example (from a unity project):

*.compute linguist-language=HLSL
*.shader linguist-language=HLSL

Motivation 馃敠

onefetch should be accurate to the repository's structure, and should report data in the same way github does

@AUnicornWithNoLife AUnicornWithNoLife added the enhancement New feature or request label Jan 8, 2024
@spenserblack
Copy link
Collaborator

spenserblack commented Jan 9, 2024

I do agree that we need some form of overrides. Especially as long as we use tokei. But, unless we use data sourced directly from linguist, I don't think we should use the linguist overrides.

BTW, gengo (#1152) can take overrides from .gitattributes 馃槈

@o2sh o2sh added the upstream label Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request upstream
Projects
None yet
Development

No branches or pull requests

3 participants